From 5c8bae65a4e6344f6c36d459f79bb39c9202cc98 Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Tue, 21 Feb 2017 23:23:11 +0100 Subject: [PATCH] installer - info to logfile in case of error --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index 73e127a..c4d0349 100644 --- a/install.sh +++ b/install.sh @@ -8,8 +8,13 @@ function exitcodefunction { if [ $errorcode -ne "0" ]; then echo "Action: $action on $module failed." >> $boswatchpath/install/setup_log.txt echo "Exitcode: $errorcode" >> $boswatchpath/install/setup_log.txt + + echo "" echo "Action: $action on $module failed." echo "Exitcode: $errorcode" + echo "" + echo " -> If you want to open an Issue at https://github.com/Schrolli91/BOSWatch/issues" + echo " please post the logfile, located at $boswatchpath/install/setup_log.txt" exit 1 else echo "Action: $action on $module ok." >> $boswatchpath/install/setup_log.txt