Permalink
Browse files

Don't test compile with $USER.

It's not working right now and I'm not sure why. So don't bother for now.
  • Loading branch information...
theory committed Nov 9, 2011
1 parent 5aff5a6 commit d64d6a8c5c844532f48efdd20fee71d72c99e1c6
Showing with 8 additions and 8 deletions.
  1. +8 −8 eg/debian_init
View
@@ -71,17 +71,17 @@ check_running() {
}
check_compile() {
- if [ -n "$USER" ] ; then
- if su $USER -c "cd $APPDIR ; perl -Ilib -M$APPNAME -c $PLACKUP" ; then
+ # if [ -n "$USER" ] ; then
+ # if su $USER -c "cd $APPDIR ; perl -Ilib -M$APPNAME -c $PLACKUP" ; then
+ # return 0
+ # fi
+ # return 1
+ # else
+ if ( cd $APPDIR ; perl -Ilib -M$APPNAME -c $PLACKUP ) ; then
return 0
fi
return 1
- else
- if ( cd $APPDIR ; perl -Ilib -M$APPNAME -c $PSGI ) ; then
- return 0
- fi
- return 1
- fi
+ # fi
}
_start() {

0 comments on commit d64d6a8

Please sign in to comment.