lib/eye/process/validate.rb in ace-eye-0.6.2 vs lib/eye/process/validate.rb in ace-eye-0.6.3

- old
+ new

@@ -20,10 +20,10 @@ Shellwords.shellwords(config[:stop_command]) if config[:stop_command] Shellwords.shellwords(config[:restart_command]) if config[:restart_command] if localize Etc.getpwnam(config[:uid]) if config[:uid] - Etc.getpwnam(config[:gid]) if config[:gid] + Etc.getgrnam(config[:gid]) if config[:gid] if config[:working_dir] raise Error, "working_dir '#{config[:working_dir]}' is invalid" unless File.directory?(config[:working_dir]) end end