From a3dd2a5047bd4808d3589559fa5ac31e3a6b100c Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 1 Oct 2015 21:34:30 +0200 Subject: [PATCH] Return non-zero upon errors --- tools/notify.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/notify.c b/tools/notify.c index 00b15e8..3eb97bd 100644 --- a/tools/notify.c +++ b/tools/notify.c @@ -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; }