mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Print 'unknown' if 'mimedb -d' fails
darcs-hash:20070524171053-ac50b-c9374e0da7f4cf1458a19d9234e4752ae156e37e.gz
This commit is contained in:
parent
c40eb8a716
commit
778aa1c304
1 changed files with 3 additions and 0 deletions
3
mimedb.c
3
mimedb.c
|
@ -1345,6 +1345,9 @@ int main (int argc, char *argv[])
|
|||
case DESCRIPTION:
|
||||
{
|
||||
output = get_description( mimetype );
|
||||
if( !output )
|
||||
output = strdup( _("Unknown") );
|
||||
|
||||
break;
|
||||
}
|
||||
case ACTION:
|
||||
|
|
Loading…
Reference in a new issue