git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/batman4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/batman b/bin/batman
index 9928931..2d44682 100755
--- a/bin/batman
+++ b/bin/batman
@@ -16,7 +16,7 @@ batmobile() {
MSG="Battery charged at $BATVAL% with status \"$BATSTATE\", no shutdown."
[ ! -z "$VOERBOOS" ]&&[ "$VOERBOOS" -eq 1 ]&&echo "$MSG"
LMSG="Battery charged at $BATVAL% with status \"$BATSTATE\", no shutdown."
- logger -p"info" -t"batman" "$LMSG"||RETVAL=$(("$RETVAL"+$?))
+ logger -p"info" -t"batman" "$LMSG"||RETVAL=$((RETVAL+"$?"))
unset LMSG
[ -e "$BATFILE" ]&&/usr/sbin/shutdown -c >/dev/null 2>&1&&rm "$BATFILE"
SDCRV="$?"
@@ -26,7 +26,7 @@ batmobile() {
LMSG="batman" "$BATFILE exists but couldn't cancel shutdown!"
logger -p"warn" -t"$LMSG"
unset LMSG
- RETVAL=$(("$RETVAL"+"$SDCRV"))
+ RETVAL=$((RETVAL+SDCRV))
;;
esac
;;
22-06-281-2/+2 | * BUGFIX: only create the tarball once for all hostsH. P. 2022-06-281-0/+1 | * Including *.local files as non-presence is no errorH. P. 2022-06-281-0/+4 | * Move tarball creation inside ansible playbook [2]H. P. 2022-06-281-26/+0 | * Added local tarball removal after successful remote executionsH. P. 2022-06-281-0/+11 | * Reincluded remote tarball removalH. P. 2022-06-281-1/+0 | * Move tarball creation inside ansible playbookH. P. 2022-06-281-0/+47 | * replaced cloudflare (wtf!!!) with quad9H. P. 2022-06-241-1/+1 | * +password-store alias for multiples storesH. P. 2022-06-241-0/+3 | * +new long format for git logv0.9.2H. P. 2022-05-021-0/+3 | * + coloured diff as defaultH. P. 2022-05-021-0/+1 | * typoH. P. 2022-04-271-1/+1 | * +voicemsg aliasH. P. 2022-04-261-0/+5 | * force yaml to noexpandtab eventuallyv0.9.1H. P. 2022-03-241-0/+1 | * +default pull strategy: no rebase