summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2026-07-24 14:21:13 +0500
committerAnton Bobov <anton@bobov.name>2026-07-24 14:21:48 +0500
commit67cab41cf5eede2dc7073d7cb58ccc12e70fb118 (patch)
tree584a0229191e9bcf8bc0e284a8886e23d0b362da
parentf2b5d1dce60be79a85af5e10f524275ef813f288 (diff)
alert: returns command exit code
-rwxr-xr-xalert1
1 files changed, 1 insertions, 0 deletions
diff --git a/alert b/alert
index d25b383..d76dbc9 100755
--- a/alert
+++ b/alert
@@ -50,6 +50,7 @@ main() {
fi
notify-send --urgency=critical --icon $ICON "${MSG}"
+ exit "$RC"
}
main "$@"