Skip to content

Commit 12e48e2

Browse files
one more logdir fix, tested
1 parent 5fd8d53 commit 12e48e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/admin/smb/psexec_command.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def initialize(info = {})
5555
OptString.new('FILEPREFIX', [false, 'Add a custom prefix to the temporary files','']),
5656
OptInt.new('DELAY', [true, 'Wait this many seconds before reading output and cleaning up', 1]),
5757
OptInt.new('RETRY', [true, 'Retry this many times to check if the process is complete', 10]),
58-
OptPath.new('LOGDIR', [false, 'File to log output', '']),
58+
OptPath.new('LOGDIR', [false, 'File to log output', nil]),
5959
], self.class)
6060

6161
deregister_options('RHOST')

0 commit comments

Comments
 (0)