Skip to content

Commit

Permalink
Fixed #58 'skipper shell' exits on ctrl-C
Browse files Browse the repository at this point in the history
  • Loading branch information
eranco74 committed Nov 20, 2016
1 parent 6e5179c commit d2c2673
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion data/skipper-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@ fi
groupadd -g ${SKIPPER_DOCKER_GID} --non-unique docker
usermod -G root,docker ${SKIPPER_USERNAME}

su -m ${SKIPPER_USERNAME} -c "$@"

while true; do
su -m ${SKIPPER_USERNAME} -c "$@"
if [ x$? == x0 ]; then
break
fi
done

0 comments on commit d2c2673

Please sign in to comment.