Skip to content

Commit

Permalink
Print 'unknown' if 'mimedb -d' fails
Browse files Browse the repository at this point in the history
darcs-hash:20070524171053-ac50b-c9374e0da7f4cf1458a19d9234e4752ae156e37e.gz
  • Loading branch information
liljencrantz committed May 24, 2007
1 parent c40eb8a commit 778aa1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mimedb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1345,6 +1345,9 @@ int main (int argc, char *argv[])
case DESCRIPTION:
{
output = get_description( mimetype );
if( !output )
output = strdup( _("Unknown") );

break;
}
case ACTION:
Expand Down

0 comments on commit 778aa1c

Please sign in to comment.