procman 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/proc_man.rb +1 -1
- data/lib/proc_man/process.rb +1 -1
- metadata +1 -1
data/lib/proc_man.rb
CHANGED
data/lib/proc_man/process.rb
CHANGED
@@ -26,7 +26,7 @@ module ProcMan
|
|
26
26
|
|
27
27
|
# Returns the current root directory path
|
28
28
|
def root
|
29
|
-
@root ||= File.expand_path('./')
|
29
|
+
@root ||= self.options[:root] || self.options[:r] || File.expand_path('./')
|
30
30
|
end
|
31
31
|
|
32
32
|
## Returns the current hostname of the machine executing this action
|