diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-07-02 14:44:01 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-07-12 09:24:43 +0200 |
commit | 852f98d6aae691574a933691b34133f35958b0d8 (patch) | |
tree | 29cbb4c61d29b4f0b5afacac5fce29f84349f790 /src/kernel-install/90-loaderentry.install | |
parent | kernel-install: raise fuss if plugins are called without the expected parameters (diff) | |
download | systemd-852f98d6aae691574a933691b34133f35958b0d8.tar.xz systemd-852f98d6aae691574a933691b34133f35958b0d8.zip |
kernel-install: return 0 for unknown verbs in plugins
In practice this makes little difference, because kernel-install will
only call the plugins for 'add' or 'remove', and if we were to add a
new verb to kernel-install, we'd just change the plugins at the same
time. But our plugins serve as documentation for external plugins too,
and there it's better to silently ignore unknown verbs so that we can
add new verbs in the future.
(50-depomod.install was already like that.)
Diffstat (limited to '')
-rwxr-xr-x | src/kernel-install/90-loaderentry.install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel-install/90-loaderentry.install b/src/kernel-install/90-loaderentry.install index a640ea42ca..96e24194c4 100755 --- a/src/kernel-install/90-loaderentry.install +++ b/src/kernel-install/90-loaderentry.install @@ -48,7 +48,7 @@ case "$COMMAND" in add) ;; *) - exit 1 + exit 0 ;; esac |