diff --git a/debian/scripts/koha-shell b/debian/scripts/koha-shell index 926c04df63..199453ab29 100755 --- a/debian/scripts/koha-shell +++ b/debian/scripts/koha-shell @@ -63,6 +63,8 @@ elsif ( $? & 127 ) { ( $? & 127 ), ( $? & 128 ) ? 'with' : 'without'; } +exit $? >> 8; + sub show_help { my ( $err, $msg ) = @_;