Return false in case we invoke `test s1' and s1 is the null string

This commit is contained in:
sin 2013-11-11 11:43:18 +00:00
parent c23616555b
commit 18fbd4606c
1 changed files with 1 additions and 1 deletions

2
test.c
View File

@ -40,7 +40,7 @@ main(int argc, char *argv[])
ret = binary(argv[1], argv[2], argv[3]);
break;
default:
usage();
break;
}
if(not)
ret = !ret;