@@ -93,7 +93,7 @@ if [ ! -z "$VIRTUALENV" ]; then
fi
-if [ -f "$CELERYBEAT" && ! -x "$CELERYBEAT" ]; then
+if [ -f "$CELERYBEAT" -a ! -x "$CELERYBEAT" ]; then
echo "ERROR: $CELERYBEAT is not executable."
echo "Please make it executable by doing: chmod +x '$CELERYBEAT'"
@@ -89,7 +89,7 @@ if [ ! -z "$VIRTUALENV" ]; then
-if [ -f "$CELERYD" && ! -x "$CELERYD" ]; then
+if [ -f "$CELERYD" -a ! -x "$CELERYD" ]; then
echo "ERROR: $CELERYD is not executable."
echo "Please make it executable by doing: chmod +x '$CELERYD'"