What in nine hells was this.

unstable
HD Moore 2011-12-13 16:04:25 -06:00
parent f38a794b1c
commit cb94b92e9c
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ module System
field,val = l.chomp.split(":") field,val = l.chomp.split(":")
system_info[field] = val.strip system_info[field] = val.strip
end end
system_info["Kernel"] = `uname -a`.chomp system_info["Kernel"] = cmd_exec("uname -a")
system_info["Hostname"] = system_info["Kernel"].split(" ")[1] system_info["Hostname"] = system_info["Kernel"].split(" ")[1]
return system_info return system_info