mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-06 15:04:06 +00:00
installer - info to logfile in case of error
This commit is contained in:
parent
1b5993119e
commit
5c8bae65a4
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue