Skip to content

Commit

Permalink
Use sudo to correctly parse arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
elros34 committed Jan 10, 2020
1 parent 9a7cb31 commit c4b6b30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubu-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if [ -z "$(ubu_ssh_pid)" ]; then # first start
if [ "$1" == "qxcompositor" ]; then # just open shell
./ubu-chroot.sh
else
./ubu-chroot.sh su $USER_NAME -l "/usr/share/ubu_chroot/start.sh $@"
./ubu-chroot.sh sudo --login --user=$USER_NAME "/usr/share/ubu_chroot/start.sh $@"
fi
fi
else # chroot ready, ssh to it
Expand Down

0 comments on commit c4b6b30

Please sign in to comment.