summaryrefslogtreecommitdiff
path: root/update-me.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-12-27 14:53:57 +0100
committerErich Eckner <git@eckner.net>2020-12-27 14:53:57 +0100
commita08589ebe2734047e5989bc66de7483724470749 (patch)
treebd2bcea8eb612fb4a79768e96abf3f858d9bf881 /update-me.in
parentbea8981e9326b8ade2ae0249e7913007f531403d (diff)
downloadupdate-all-a08589ebe2734047e5989bc66de7483724470749.tar.xz
update-me: put sudo before reboot, too
Diffstat (limited to 'update-me.in')
-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