Bug 10259 - koha-*-zebra scripts are expected to run without warnings if no instance...
authorTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 16 May 2013 14:11:52 +0000 (11:11 -0300)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 18 May 2013 10:07:57 +0000 (06:07 -0400)
Commented out the code that checks for intance name parameters on the zebra service handling scripts.
It restores the original behaviour, while leaving error checking code.

Regards
To+

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
debian/scripts/koha-restart-zebra
debian/scripts/koha-start-zebra
debian/scripts/koha-stop-zebra

index 7464d6d..024251e 100755 (executable)
@@ -134,7 +134,7 @@ EOF
 }
 
 # Parse command line.
-[ $# -ge 1 ] || ( usage ; die "Missing instance name..." )
+#[ $# -ge 1 ] || ( usage ; die "Missing instance name..." )
 
 # Loop through the instance names
 for name in "$@"
index b5e7c6c..222b0ef 100755 (executable)
@@ -108,7 +108,7 @@ EOF
 }
 
 # Parse command line.
-[ $# -ge 1 ] || ( usage ; die "Missing instance name..." )
+#[ $# -ge 1 ] || ( usage ; die "Missing instance name..." )
 
 # Loop through the instance names
 for name in "$@"
index ae15cc7..e60f2b3 100755 (executable)
@@ -109,7 +109,7 @@ EOF
 }
 
 # Parse command line.
-[ $# -ge 1 ] || ( usage ; die "Missing instance name..." )
+#[ $# -ge 1 ] || ( usage ; die "Missing instance name..." )
 
 # Loop through the instance names
 for name in "$@"