Skip to content

Commit ac99f9c

Browse files
committed
Fix condition
1 parent f69e7c0 commit ac99f9c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/post/linux/gather/openvpn_credentials.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ def run
7171
if deldump.chomp.to_i == 0
7272
vprint_good('Removing temp files successfully.')
7373
else
74-
print_warning('Could not remove dumped files.')
75-
return
74+
print_warning('Could not remove dumped files. Remove manually.')
7675
end
7776

7877
fail_with(Failure::BadConfig, 'No credentials. You can check if the PID is correct.') if strings.empty?

0 commit comments

Comments
 (0)