Realign exit codes

This commit is contained in:
Julien Malik 2015-09-09 09:59:16 +02:00
parent a57efabd4f
commit 459dc9cbab

View file

@ -404,23 +404,19 @@ if ! step register_debconf ; then
fi fi
if ! step workaround_avahi_installation ; then 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 fi
if ! step install_yunohost_packages ; then if ! step install_yunohost_packages ; then
die "\ die "Installation of Yunohost packages failed" 10
Installation of Yunohost packages failed
You can check the install logs saved in $YUNOHOST_LOG
" 9
fi fi
if ! step restart_services ; then if ! step restart_services ; then
die "Error caught during services restart" 10 die "Error caught during services restart" 11
fi fi
if ! step post_install ; then if ! step post_install ; then
die "Post-installation failed" 11 die "Post-installation failed" 12
fi fi
# Success ! # Success !