aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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