Return non-zero upon errors
This commit is contained in:
parent
80fcd61ed9
commit
a3dd2a5047
|
@ -196,6 +196,7 @@ int main(int argc, char * argv[])
|
|||
}
|
||||
if(optind == argc)
|
||||
return _usage();
|
||||
_notify(embed, iconsize, timeout, &argv[optind]);
|
||||
if(_notify(embed, iconsize, timeout, &argv[optind]) != 0)
|
||||
return 2;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user