Permalink
Browse files

oh whoops, bash might not always be the default shell

Change-Id: I3ba13544e0238579fb374a6a0886fd978689433c
Reviewed-on: https://gerrit.instructure.com/2270
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
  • Loading branch information...
1 parent ead989d commit 046cfe54c1ac14ccf8f6d3a32908812749fff363 @jtolds jtolds committed Feb 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 script/canvas_init
View
2 script/canvas_init
@@ -13,7 +13,7 @@ set -e
# drop privs if necessary
if [ "$(id -u)" == "0" ]; then
- exec su $(stat -c %U $(dirname $(readlink -f $0))/../config/environment.rb) -- $0 $@
+ exec su $(stat -c %U $(dirname $(readlink -f $0))/../config/environment.rb) -c "/bin/bash $0 $@"
exit -1;
fi

0 comments on commit 046cfe5

Please sign in to comment.