aboutsummaryrefslogtreecommitdiffstats
path: root/mandriva
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2020-07-29 18:31:13 +0200
committerOlav Vitters <olav@vitters.nl>2020-07-29 18:31:13 +0200
commita3b20fb63e9da5460367955d9ce81ef5b096c80b (patch)
treeb19f1904edb916c806cd8e851be2f6ebe694cc9e /mandriva
parentf908091c1f47e73e2684bd9d9677ec2d2d917827 (diff)
downloadinitscripts-a3b20fb63e9da5460367955d9ce81ef5b096c80b.tar
initscripts-a3b20fb63e9da5460367955d9ce81ef5b096c80b.tar.gz
initscripts-a3b20fb63e9da5460367955d9ce81ef5b096c80b.tar.bz2
initscripts-a3b20fb63e9da5460367955d9ce81ef5b096c80b.tar.xz
initscripts-a3b20fb63e9da5460367955d9ce81ef5b096c80b.zip
partmon: shellcheck: fix quoting and escaping issue
Diffstat (limited to 'mandriva')
-rw-r--r--mandriva/partmon/partmon4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandriva/partmon/partmon b/mandriva/partmon/partmon
index 60405d8f..0c893020 100644
--- a/mandriva/partmon/partmon
+++ b/mandriva/partmon/partmon
@@ -23,13 +23,13 @@ SYSCONF_FILE=/var/lock/subsys/partmon
case "$1" in
start)
gprintf "Checking if partitions have enough free diskspace: "
- str=`/usr/bin/partmon`
+ str=$(/usr/bin/partmon)
if [ "$str" = "" ]; then
echo_success
touch $SYSCONF_FILE
else
echo # to start to print problems at column 0
- echo $str
+ echo "$str"
echo_failure
echo
exit 1