dist/etc/init.d/flapper in flapjack-1.0.0rc1 vs dist/etc/init.d/flapper in flapjack-1.0.0rc2
- old
+ new
@@ -3,16 +3,16 @@
# flapper
#
PATH=/opt/flapjack/bin:$PATH
-if [ ! $(which flapper) ]; then
- echo "Error: flapper isn't in PATH."
+if [ ! $(which flapjack) ]; then
+ echo "Error: flapjack isn't in PATH."
echo "Refusing to do anything!"
exit 1
fi
# Evaluate command
-flapper $1
+flapjack flapper $1
RETVAL=$?
exit $RETVAL