Skip to content

Commit 5d3955b

Browse files
committed
Formating
1 parent 859553f commit 5d3955b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

nxc/modules/link_enable_xp.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ def __init__(self):
1717
def options(self, context, module_options):
1818
"""
1919
Defines the options for enabling or disabling xp_cmdshell on the linked server.
20-
ACTION Specifies whether to enable or disable:
21-
- enable (default)
22-
- disable
20+
ACTION Specifies whether to enable or disable:
21+
- enable (default)
22+
- disable
2323
LINKED_SERVER The name of the linked SQL server to target.
2424
"""
2525
self.action = module_options.get("ACTION", "enable")
@@ -100,4 +100,4 @@ def is_option_enabled(self, option):
100100
self.context.log.debug(f"{option} check result: {result}")
101101
if result and result[0]["config_value"] == 1:
102102
return True
103-
return False
103+
return False

0 commit comments

Comments
 (0)