Print 'unknown' if 'mimedb -d' fails

darcs-hash:20070524171053-ac50b-c9374e0da7f4cf1458a19d9234e4752ae156e37e.gz
This commit is contained in:
axel 2007-05-25 03:10:53 +10:00
parent c40eb8a716
commit 778aa1c304

View File

@ -1345,6 +1345,9 @@ int main (int argc, char *argv[])
case DESCRIPTION:
{
output = get_description( mimetype );
if( !output )
output = strdup( _("Unknown") );
break;
}
case ACTION: