28 lines
707 B
Diff
28 lines
707 B
Diff
|
rom eefac5786d01f1c3c4660cb218eb380eb19894a7 Mon Sep 17 00:00:00 2001
|
||
|
From: Noel Kuntze <noel@familie-kuntze.de>
|
||
|
Date: Fri, 21 Jul 2017 16:39:50 +0200
|
||
|
Subject: [PATCH] Fix implicit fallthrough in src/options.c
|
||
|
|
||
|
---
|
||
|
pax-3.4/src/options.c | 4 +++-
|
||
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/pax-3.4/src/options.c b/pax-3.4/src/options.c
|
||
|
index e30a877..18c5266 100644
|
||
|
--- a/pax-3.4/src/options.c
|
||
|
+++ b/pax-3.4/src/options.c
|
||
|
@@ -722,8 +722,10 @@ tar_options (int argc, char **argv)
|
||
|
pmtime = 0;
|
||
|
break;
|
||
|
case 'o':
|
||
|
- if (opt_add ("write_opt=nodir") < 0)
|
||
|
+ if (opt_add ("write_opt=nodir") < 0) {
|
||
|
tar_usage ();
|
||
|
+ }
|
||
|
+ break;
|
||
|
case 'O':
|
||
|
Oflag = 1;
|
||
|
break;
|
||
|
--
|
||
|
2.13.3
|