BTS

Issue557

Title grml-debootstrap, no output for eerror
Priority bug Status resolved
Superseder Nosy List mika, suntong
Assigned To mika Topics grml-debootstrap

Created on 2008-10-17.20:36:47 by suntong, last changed 2009-02-12.19:05:34 by mika.

Messages
msg1843 (view) Author: mika Date: 2009-02-12.19:05:34
I can't locate this bug in current grml-debootstrap anymore (thanks to Ulrich 
Dangel for spotting this). Closing this bugreport therefore, feel free to 
reopen it if you think you found a bug.

thanks && regards,
-mika-
msg1670 (view) Author: mika Date: 2008-11-27.10:08:45
eerror doesn't produce any output because you're checking the return code 
within the "if [ $? ..." but grml-debootstrap is running with 'set -e' so it 
exits on any error -> the eerror can't be reached. Hm, maybe we should source 
cmdlineopts.clp within a "set +x" section.

regards,
-mika-
msg1611 (view) Author: suntong Date: 2008-10-17.21:25:15
hmm... same line works fine in main. 

mika, please help.
msg1609 (view) Author: suntong Date: 2008-10-17.20:36:47
Why eerror produces no output?

In grml-debootstrap.clp

if [ $? != 0 ]; then
  eerror "Try `grml-debootstrap --help' for more information."; eend 1; exit 1
fi

but I never get this message.
History
Date User Action Args
2009-02-12 19:05:34mikasetstatus: in-progress -> resolved
nosy: mika, suntong
messages: + msg1843
2008-11-27 10:08:45mikasetstatus: chatting -> in-progress
nosy: mika, suntong
messages: + msg1670
2008-10-17 21:25:15suntongsetstatus: unread -> chatting
nosy: mika, suntong
messages: + msg1611
2008-10-17 20:36:47suntongcreate