Skip to content

Commit

Permalink
Merge pull request #900 from INCATools/fix-running-as-root
Browse files Browse the repository at this point in the history
Fix the entrypoint script when ODK_USER_ID is 0.
  • Loading branch information
matentzn authored Jul 17, 2023
2 parents 7618c73 + 13f879d commit 997abbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

if [ x$ODK_USER_ID = x0 ]; then
exec $@
exec "$@"
fi

REAL_USER_ID=${ODK_USER_ID:-1000}
Expand Down

0 comments on commit 997abbd

Please sign in to comment.