summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorнаб <nabijaczleweli@nabijaczleweli.xyz>2022-05-26 23:18:07 +0200
committerнаб <nabijaczleweli@nabijaczleweli.xyz>2022-05-26 23:18:34 +0200
commit2f9f8b96d41bc0787f53dcc01c1488fcdc735e9b (patch)
tree24caafca66452b1f451b436dede24edc911737dc /src
parentkernel-install: actually ignore the last two arguments (diff)
downloadsystemd-2f9f8b96d41bc0787f53dcc01c1488fcdc735e9b.tar.xz
systemd-2f9f8b96d41bc0787f53dcc01c1488fcdc735e9b.zip
kernel-install: don't log each initrd on its own line in verbose mode
Diffstat (limited to 'src')
-rwxr-xr-xsrc/kernel-install/kernel-install.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel-install/kernel-install.in b/src/kernel-install/kernel-install.in
index 96c50ba633..3da233ef6e 100755
--- a/src/kernel-install/kernel-install.in
+++ b/src/kernel-install/kernel-install.in
@@ -324,7 +324,7 @@ case "$COMMAND" in
fi
for f in $PLUGINS; do
- [ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] && echo "+$f add $KERNEL_VERSION $ENTRY_DIR_ABS $*"
+ [ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] && echo "+$f add $KERNEL_VERSION $ENTRY_DIR_ABS" "$@"
"$f" add "$KERNEL_VERSION" "$ENTRY_DIR_ABS" "$@"
err=$?
@@ -358,8 +358,8 @@ case "$COMMAND" in
# Assert that ENTRY_DIR_ABS actually matches what we are printing here
[ "${ENTRY_DIR_ABS%/*}" = "$KERNEL_INSTALL_BOOT_ROOT/$ENTRY_TOKEN" ] || { echo "Assertion didn't pass." >&2; exit 1; }
-
;;
+
*)
echo "Error: unknown command '$COMMAND'" >&2
exit 1