ccztux / glsysbackup

:floppy_disk: glsysbackup is a feature rich (rotation, logging, encryption, renice, re-ionice,...etc.) bash backup script
GNU General Public License v3.0
12 stars 2 forks source link

glsysbackup exits with returncode 0 in case of error #101

Closed ccztux closed 5 years ago

ccztux commented 5 years ago

Example:

13:31:44 [pi@wurlitzer]:/usr/local/glsysbackup/etc$ /usr/local/glsysbackup/bin/glsysbackup -c /usr/local/glsysbackup/etc/testconfig.conf 
Log file exists but we dont have write permissions, exiting.
Caught: 'EXIT', exiting script...
Ooops!!! Something went wrong. :(
Read the log or output to determine what exactly went wrong.
glsysbackup (2.0.0-beta4) was running: '0' seconds, script_exit_code: '10'.
Bye, bye...
13:31:45 [pi@wurlitzer]:/usr/local/glsysbackup/etc$ echo $?
0