summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2020-01-28 11:11:49 +0100
committerJonathan Bauer2020-01-28 11:11:49 +0100
commitad254f1ce5ef61f3e9b8becf111b45a7abbaa72b (patch)
tree1605310a3a7e4004b1a2045d6e9f2c97ba0e7ce7
parent[run-virt] add default PATH... (diff)
downloadmltk-ad254f1ce5ef61f3e9b8becf111b45a7abbaa72b.tar.gz
mltk-ad254f1ce5ef61f3e9b8becf111b45a7abbaa72b.tar.xz
mltk-ad254f1ce5ef61f3e9b8becf111b45a7abbaa72b.zip
[hardware-stats] fix weird typo
Came from e74418844e9912f254deb35eb7f60243e7af238b Guess that was not intended ^^
-rwxr-xr-xcore/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats2
1 files changed, 1 insertions, 1 deletions
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