self-upgrade delays sudo_root

This commit is contained in:
pvincent
2026-08-20 19:17:29 +04:00
parent 9c2428cb4c
commit 180e7bf7db
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ function assert_system_mode {
>&2 echo "ERROR: development mode: $(realpath "$MIAOU_BASH_DIR")" &&
return 3
assert_container && ! sudo test -w "$MIAOU_BASH_DIR" &&
assert_container && [[ $(stat -c '%U' "$MIAOU_BASH_DIR") == 'nobody' ]] &&
>&2 echo "ERROR: hosted mode" &&
return 4