diff options
author | Erich Eckner <git@eckner.net> | 2020-12-27 14:53:57 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-12-27 14:53:57 +0100 |
commit | a08589ebe2734047e5989bc66de7483724470749 (patch) | |
tree | bd2bcea8eb612fb4a79768e96abf3f858d9bf881 | |
parent | bea8981e9326b8ade2ae0249e7913007f531403d (diff) | |
download | update-all-a08589ebe2734047e5989bc66de7483724470749.tar.xz |
update-me: put sudo before reboot, too
-rw-r--r-- | update-me.in | 2 |
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 |