[Koha-patches] [PATCH] fixed error when the koha user can't be created

Marc Chantreux marc.chantreux at biblibre.com
Thu May 22 14:43:03 CEST 2008


---
 install_misc/install_koha_on_fresh_debian |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/install_misc/install_koha_on_fresh_debian b/install_misc/install_koha_on_fresh_debian
index 18d9db3..43c8f4e 100644
--- a/install_misc/install_koha_on_fresh_debian
+++ b/install_misc/install_koha_on_fresh_debian
@@ -485,7 +485,7 @@ cpan Net::Z3950::ZOOM Biblio::EndnoteStyle
 
 getent passwd $KOHA_USER ||
     create_debian_koha_user $KOHA_USER ||
-    die "can't create $KOHA_USER"
+    die 1 "can't create $KOHA_USER"
 
 mysql_create_base "$DB_NAME" ||
 	die 1 "can't create or find $DB_NAME"
-- 
1.5.5.1




More information about the Koha-patches mailing list