From 459dc9cbab770c6ac30464be78a2c242a0007077 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Wed, 9 Sep 2015 09:59:16 +0200 Subject: [PATCH] Realign exit codes --- install_yunohostv2 | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/install_yunohostv2 b/install_yunohostv2 index 392d53f..e9974a5 100755 --- a/install_yunohostv2 +++ b/install_yunohostv2 @@ -404,23 +404,19 @@ if ! step register_debconf ; then fi if ! step workaround_avahi_installation ; then - die "Unable to install workaround for avahi installation" 20 + die "Unable to install workaround for avahi installation" 9 fi if ! step install_yunohost_packages ; then - die "\ -Installation of Yunohost packages failed - -You can check the install logs saved in $YUNOHOST_LOG -" 9 + die "Installation of Yunohost packages failed" 10 fi if ! step restart_services ; then - die "Error caught during services restart" 10 + die "Error caught during services restart" 11 fi if ! step post_install ; then - die "Post-installation failed" 11 + die "Post-installation failed" 12 fi # Success !