From e88aaa1a8d43fac6527764be6788084e3e3fbc37 Mon Sep 17 00:00:00 2001 From: Michel-FK Date: Sun, 31 May 2020 22:49:07 +0200 Subject: [PATCH] wrong bash test syntax --- FunKey/board/funkey/rootfs-overlay/usr/local/sbin/system_stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/system_stats b/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/system_stats index cc2c287..a6a091a 100755 --- a/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/system_stats +++ b/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/system_stats @@ -25,7 +25,7 @@ while true; do ram_swap=$(printf "%.1f\n" $(free | grep Swap | awk '{print $3/$2 * 100.0}')) # Notif - if [ ${notif_dirty} == 1 ]]; then + if [ ${notif_dirty} -eq 1 ]; then notif_clear notif_dirty=0 else