Compare commits

..

1 Commits

Author SHA1 Message Date
akiel d43c92f406 Correct code flag behaviour 2020-08-15 12:43:31 +02:00
+5 -1
View File
@@ -1,2 +1,6 @@
#!/usr/bin/env sh
rocketchat-notification -u "$1" -p "$2" -m "$3" -s "$4" -c "$5" -code "$6"
if $6 == "true"; then
rocketchat-notification -u "$1" -p "$2" -m "$3" -s "$4" -c "$5" -code
else
rocketchat-notification -u "$1" -p "$2" -m "$3" -s "$4" -c "$5"
fi