Bug#563121: Returning a status of non-zero might not be safe

2009-12-31 Thread Cyril Brulebois
YOSHINO Yoshihito yy.y.ja...@gmail.com (31/12/2009): Hello, Hi, test -x `which foo` foo bar baz returns status 1, which comes to an error if a script executed this as the last command. E.g. like #563121, prerm will exit with status 1 if defoma not found unless explicitly writing the last

Bug#563121: Returning a status of non-zero might not be safe

2009-12-30 Thread YOSHINO Yoshihito
Hello, test -x `which foo` foo bar baz returns status 1, which comes to an error if a script executed this as the last command. E.g. like #563121, prerm will exit with status 1 if defoma not found unless explicitly writing the last line exit 0 in the prerm template. So I think changing defoma