iopu: Exit with same returncode as the program we invoke.

This commit is contained in:
Ronny Nilsson 2019-12-03 12:15:21 +01:00
parent 20937718f1
commit 6f5e41bb76

View file

@ -206,11 +206,11 @@ while getopts "nrxbhcC:" opt; do
;;
r)
newroot_exec /bin/sh
exit 0
exit
;;
C)
newroot_exec "${OPTARG}"
exit 0
exit
;;
h)
usage