]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.in: remove '--' from injectargs, if there, as well
authorDan Mick <dan.mick@redhat.com>
Fri, 31 Oct 2014 23:25:49 +0000 (16:25 -0700)
committerSage Weil <sage@redhat.com>
Fri, 31 Oct 2014 23:30:58 +0000 (16:30 -0700)
Fixes: #9976
Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Dan Mick <dan.mick@redhat.com>
src/ceph.in

index 3c9484922b43689e013804febb97f87e3f645777..d133557669c6dd2d776cdbcf5c51c5a1ace89b16 100755 (executable)
@@ -646,6 +646,8 @@ def main():
     # -- means "stop parsing args", but we don't want to see it either
     if '--' in childargs:
         childargs.remove('--')
+    if injectargs and '--' in injectargs:
+        injectargs.remove('--')
 
     # special deprecation warning for 'ceph <type> tell'
     # someday 'mds' will be here too