Skip to content

Commit 7119990

Browse files
committed
fix non-sudo start script
1 parent dabb075 commit 7119990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/start.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ if [ ! -d "$ROOT/tmp" ]; then
7979
mkdir "$ROOT/tmp"
8080
fi
8181

82-
sudo_cmd=''
82+
sudo_cmd=env
8383
## check if user switching is enabled - in that case we have to sudo
8484
if grep -i ^exec.match.user conf/rcloud.conf >/dev/null 2>&1; then
8585
if [ `id -u` != 0 ]; then

0 commit comments

Comments
 (0)