lib/beaker/host/windows/exec.rb in beaker-2.49.0 vs lib/beaker/host/windows/exec.rb in beaker-2.50.0
- old
+ new
@@ -87,6 +87,15 @@
def prepend_commands(command = '', user_pc = nil, opts = {})
cygwin_prefix = (self.is_cygwin? and opts[:cmd_exe]) ? 'cmd.exe /c' : ''
spacing = (user_pc && !cygwin_prefix.empty?) ? ' ' : ''
"#{cygwin_prefix}#{spacing}#{user_pc}"
end
+
+ # Checks if selinux is enabled
+ # selinux is not available on Windows
+ #
+ # @return [Boolean] false
+ def selinux_enabled?()
+ false
+ end
+
end