summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update-me.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-me.in b/update-me.in
index d9b50c4..dcac3af 100644
--- a/update-me.in
+++ b/update-me.in
@@ -58,7 +58,7 @@ for mp in '/' '/boot'; do
postCmds+=('mount -o remount,ro '"${mp}"' || shutdownasap -r')
fi
else
- postCmds+=('mount -o remount,ro '"${mp}"' || reboot')
+ postCmds+=('bash -c "mount -o remount,ro '"${mp}"' || reboot"')
fi
done