[PATCH 07/15] Fix "tgtadm --debug" support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Arne Redlich <arne.redlich@xxxxxxxxxxxxxx>
---
 usr/tgtadm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/usr/tgtadm.c b/usr/tgtadm.c
index 2002baa..671af31 100644
--- a/usr/tgtadm.c
+++ b/usr/tgtadm.c
@@ -407,7 +407,7 @@ static int verify_mode_params(int argc, char **argv, char *allowed)
 
 	while ((ch = getopt_long(argc, argv, short_options,
 				 long_options, &longindex)) >= 0) {
-		if (!strchr(allowed, ch)) {
+		if (!strchr(allowed, ch) && !strchr("d", ch)) {
 			ret = ch;
 			break;
 		}
-- 
1.6.0.4



--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux