Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r315 - trunk/sites/psi/scripts/admin

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r315 - trunk/sites/psi/scripts/admin


Chronological Thread 
  • From: "AFS account Stadler Hans Christian" <stadler_h AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r315 - trunk/sites/psi/scripts/admin
  • Date: Tue, 6 Jan 2009 10:59:36 +0100
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: stadler_h
Date: Tue Jan 6 10:59:36 2009
New Revision: 315

Log:
Bugfix - type_of should not exit, but only return

Modified:
trunk/sites/psi/scripts/admin/index.sh

Modified: trunk/sites/psi/scripts/admin/index.sh
==============================================================================
--- trunk/sites/psi/scripts/admin/index.sh (original)
+++ trunk/sites/psi/scripts/admin/index.sh Tue Jan 6 10:59:36 2009
@@ -78,7 +78,7 @@
while test $N -ne 0 -a ${HOST_NAME[$((N-1))]} != $1; do
N=$((N-1))
done
- ((N == 0)) && exit 1
+ ((N == 0)) && return 1
echo ${SERVER_TYPE[$((N-1))]}
}




  • [idok-commit] idok commit r315 - trunk/sites/psi/scripts/admin, AFS account Stadler Hans Christian, 01/06/2009

Archive powered by MHonArc 2.6.19.

Top of Page