We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1d76b8 commit 8e8e724Copy full SHA for 8e8e724
modules/post/windows/manage/priv_migrate.rb
@@ -49,7 +49,10 @@ def run
49
@original_name = client.sys.process.open.name
50
print_status("Current session process is #{@original_name} (#{@original_pid}) as: #{client.sys.config.getuid}")
51
unless migrate_admin
52
- return if is_admin? && datastore['NOFAIL']
+ if is_admin? && !datastore['NOFAIL']
53
+ print_status("NOFAIL set to false, exiting module.")
54
+ return
55
+ end
56
migrate_user
57
end
58
0 commit comments