Project

General

Profile

« Previous | Next » 

Revision 7e3ca5c2

Added by Michael Moll over 10 years ago

fixes #3874 - extend paths for FreeBSD support

View differences:

lib/proxy/bmc/shell.rb
def powercycle
# search for sudo
sudo = which("sudo", "/usr/bin")
sudo = which("sudo")
unless sudo
logger.warn "sudo binary was not found - aborting"

Also available in: Unified diff