summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2022-03-02 17:27:33 +0100
committerJonathan Bauer2022-03-02 17:27:33 +0100
commitf405b35d0b49f779a2f45b868c41035d086a31f4 (patch)
tree9428bcfeff3657680962a0f308424078c5a8f39d
parentbuild-initramfs.sh: fix parsing whitespaces as unknown arguments (diff)
downloadsystemd-init-f405b35d0b49f779a2f45b868c41035d086a31f4.tar.gz
systemd-init-f405b35d0b49f779a2f45b868c41035d086a31f4.tar.xz
systemd-init-f405b35d0b49f779a2f45b868c41035d086a31f4.zip
build-initramfs.sh: break out of loop....
-rwxr-xr-xbuild-initramfs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build-initramfs.sh b/build-initramfs.sh
index ec3694ff..ef9a44f3 100755
--- a/build-initramfs.sh
+++ b/build-initramfs.sh
@@ -320,6 +320,8 @@ parse_command_line() {
echo \
"Error with given option \"$1\": This argument is not available."
return 1
+ else
+ break
fi
;;
esac