Ticket #233: athrun.patch

File athrun.patch, 562 bytes (added by elefthei, 11 years ago)

Patch to trunk/server/common/oursrc/athrun/athrun.sh

  • server/common/oursrc/athrun/athrun.sh

    old new  
    1717*)
    1818  locker=$1
    1919  program=$2
     20  if [ ! -d "/mit/$locker" ]; then
     21      echo "Locker $locker not found. Did you try 'add $locker'?"
     22      exit 2
     23  elif [ ! -x "/mit/$locker/arch/@sys/bin/$program" ]; then
     24      echo "Program $program not found on locker $locker."
     25      exit 3
     26  fi
    2027  shift 2;
    2128  exec "/mit/$locker/arch/@sys/bin/$program" "$@"
    2229  ;;