diff --git a/bin/lstart b/bin/lstart index 18293a2..181df64 100755 --- a/bin/lstart +++ b/bin/lstart @@ -280,7 +280,6 @@ fi # If no lab directory has been given, assume current directory LAB_DIRECTORY=${LAB_DIRECTORY:-${PWD}} -. "$NETKIT_HOME/bin/lcommon" # Check that the lab directory exists if [ ! -d "$LAB_DIRECTORY" ]; then @@ -295,6 +294,8 @@ if containsRegexp LAB_DIRECTORY " "; then exit 1 fi +. "$NETKIT_HOME/bin/lcommon" + # Check whether parallel startup and -f are being used together if [ -f "$LAB_DIRECTORY/lab.dep" -a ! -z "$FASTMODE" -a -z "$BE_SEQUENTIAL" ]; then echo 1>&2 "Warning: fast mode is ignored when using parallel startup."