Fixed irritating typo that caused the occurance of a file called '1' with some error message within.

This commit is contained in:
Louwrentius 2009-10-21 18:48:16 +00:00
parent e24cf063e9
commit 7a578ff88b

View File

@ -38,7 +38,7 @@ trap 'kill_process; ' INT
# Setting some vars. Do not change. # Setting some vars. Do not change.
SCRIPT_NAME="Distributed Parallel Processing Shell Script" SCRIPT_NAME="Distributed Parallel Processing Shell Script"
SCRIPT_VERSION="2.32" SCRIPT_VERSION="2.33"
# The first argument to this script is always the 'mode'. # The first argument to this script is always the 'mode'.
MODE="$1" MODE="$1"
@ -210,7 +210,7 @@ showusage () {
kill_process () { kill_process () {
kill $LISTENER_PID > /dev/null 2&>1 kill $LISTENER_PID > /dev/null 2>&1
sleep 1 sleep 1
cleanup cleanup
sleep 1 sleep 1
@ -1463,7 +1463,7 @@ listen_for_job () {
fi fi
log DEBUG "$((MAX_NO_OF_RUNNING_JOBS-DIED)) jobs are remaining." log DEBUG "$((MAX_NO_OF_RUNNING_JOBS-DIED)) jobs are remaining."
else else
commando "$event" & commando "$event" &
fi fi
done done
kill_process kill_process
@ -1488,7 +1488,6 @@ start_all_workers () {
start_single_worker start_single_worker
((i++)) ((i++))
done done
} }
get_status_of_node () { get_status_of_node () {