diff options
author | Hari Bathini <hbathini@linux.ibm.com> | 2020-06-02 10:01:59 +0530 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2020-06-06 15:20:34 +0200 |
commit | f22b6aabc6e1082f7c7a84c68de00ba9af67f218 (patch) | |
tree | 4af416ee6e5afa290df70ea42fd85eca2101254b /kexec | |
parent | 74c7c369f8c75c665605e117c14816bb060ed91c (diff) |
kexec-tools: fix the unintended fallthrough when '-d' option is used
Fixes: 28d4ab532808 ("Add generic debug option")
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec')
-rw-r--r-- | kexec/kexec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kexec/kexec.c b/kexec/kexec.c index 7ef3d2a..a62b362 100644 --- a/kexec/kexec.c +++ b/kexec/kexec.c @@ -1374,6 +1374,7 @@ int main(int argc, char *argv[]) return 0; case OPT_DEBUG: kexec_debug = 1; + break; case OPT_NOIFDOWN: skip_ifdown = 1; break; |