Skip to content

Commit

Permalink
add su user specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaier1 committed Jun 27, 2018
1 parent 70a542e commit 1975ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion startJD2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ fi
useradd -G $GROUP $USER
chown -R $USER:$GROUP /opt/JDownloader

exec su-exec "$@"
exec su-exec ${USER}:${GROUP} "$@"

0 comments on commit 1975ef4

Please sign in to comment.