1
0

- corrected display of error number

This commit is contained in:
Daniel Tartavel 2018-08-04 00:14:36 +02:00
parent 154773db72
commit af29d974d3

View File

@ -675,9 +675,9 @@ if [ -d "$SOURCE_PATH/$CONFIG_PATH" ];then
read yn
if [ -z $yn ] || [ $yn = "Y" ] || [ $yn = "y" ];then
/usr/bin/cp "$SOURCE_PATH/mageia4arm.cfg.template" "$SOURCE_PATH/$CONFIG_PATH/mageia4arm.cfg"
warning "You need now to modify the config file ($SOURCE_PATH/$CONFIG_PATH/mageia4arm.cfg) and relaunch the script"
exit 1
fi
warning "You need now to modify the config file ($SOURCE_PATH/$CONFIG_PATH/mageia4arm.cfg) and relaunch the script"
exit 1
fi
else
warning "Config directory does not exists, do you want i make it and copy the template file in? [Y|n] "
@ -788,4 +788,6 @@ case $OPT in
;;
esac
warning "Some errors occurs : $ERRORN errors"
if ! [ -z $ERRORN ];then
warning "Some errors occurs : $ERRORN errors"
fi