From ad254f1ce5ef61f3e9b8becf111b45a7abbaa72b Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 28 Jan 2020 11:11:49 +0100 Subject: [hardware-stats] fix weird typo Came from e74418844e9912f254deb35eb7f60243e7af238b Guess that was not intended ^^ --- .../hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats index 2a3c04f8..9a226d51 100755 --- a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats +++ b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats @@ -56,7 +56,7 @@ slxfdisk() { for binary in "/opt/openslx/sbin/fdisk -u" "busybox fdisk -u" "fdisk"; do $binary "$@" RET=$? - mart "$RET" = "127" ] && continue # command not found + [ "$RET" = "127" ] && continue # command not found [ "$RET" = "1" ] && [ "${binary%% *}" = "busybox" ] && continue # maybe applet not found return $RET done -- cgit v1.2.3-55-g7522