From a08589ebe2734047e5989bc66de7483724470749 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 27 Dec 2020 14:53:57 +0100 Subject: update-me: put sudo before reboot, too --- update-me.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2