@@ -, +, @@ $ sudo debian/scripts/koha-shell kohadev -c 'exit 8' $ echo $? 8 --- debian/scripts/koha-shell | 2 ++ 1 file changed, 2 insertions(+) --- a/debian/scripts/koha-shell +++ a/debian/scripts/koha-shell @@ -63,6 +63,8 @@ elsif ( $? & 127 ) { ( $? & 127 ), ( $? & 128 ) ? 'with' : 'without'; } +exit $? >> 8; + sub show_help { my ( $err, $msg ) = @_; --