diff options
Diffstat (limited to 'src/kernel-install')
-rw-r--r-- | src/kernel-install/kernel-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel-install/kernel-install b/src/kernel-install/kernel-install index 0c0ee718ac..a95b9717f0 100644 --- a/src/kernel-install/kernel-install +++ b/src/kernel-install/kernel-install @@ -127,7 +127,7 @@ case $COMMAND in "$f" add "$KERNEL_VERSION" "$BOOT_DIR_ABS" "$KERNEL_IMAGE" x=$? if [[ $x == $SKIP_REMAINING ]]; then - return 0 + exit 0 fi ((ret+=$x)) fi @@ -140,7 +140,7 @@ case $COMMAND in "$f" remove "$KERNEL_VERSION" "$BOOT_DIR_ABS" x=$? if [[ $x == $SKIP_REMAINING ]]; then - return 0 + exit 0 fi ((ret+=$x)) fi |