diff options
Diffstat (limited to 'commands')
-rw-r--r-- | commands/command | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/command b/commands/command index ba9ae30a..b35501f1 100644 --- a/commands/command +++ b/commands/command @@ -180,7 +180,7 @@ class CommandModule(AnsibleModule): params['removes'] = None params['shell'] = False params['executable'] = None - if args.find("#USE_SHELL") != -1: + if "#USE_SHELL" in args: args = args.replace("#USE_SHELL", "") params['shell'] = True |