Project

General

Profile

« Previous | Next » 

Revision 97db43ee

Added by Lukas Zapletal over 8 years ago

Fixes #13442 - foreman-debug exits with 0 on success

(cherry picked from commit 8c3bed8c69518ee46015705277b359270b2f9c29)

View differences:

script/foreman-debug
[ $UPLOAD -eq 1 -a $NOTAR -eq 1 ] && error "Options -u and -a cannot be used together" && exit 2
# some tasks take long time, print a banner (unless quiet mode was selected)
qprintf "Processing... (takes a while)"
# determine distribution family
if [ -f /etc/debian_version ]; then
OS=debian
......
else
[[ $UPLOAD_DISABLED -eq 0 ]] && qprintf "To upload a tarball to our secure site, please use the -u option.\n"
fi
exit 0

Also available in: Unified diff