Skip to content

Commit 7ff80c3

Browse files
committed
Update start-shell
ensure user is root if uid is 0
1 parent 258f6ac commit 7ff80c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

start-shell

+4
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ if [[ "$DOSHIE_UID" == "0" ]]; then
6363
doshie_user=root
6464
fi
6565

66+
if [[ "$doshie_user" == "doshie_0" ]]; then
67+
doshie_user=root
68+
fi
69+
6670
# start the interactive shell
6771
if [[ -z "$DOSHIE_CMD" ]]; then
6872
su - $doshie_user

0 commit comments

Comments
 (0)