lib/ohai/plugins/linux/ipc.rb in ohai-16.5.4 vs lib/ohai/plugins/linux/ipc.rb in ohai-16.5.6
- old
+ new
@@ -39,10 +39,10 @@
"key" => parts[0],
"owner" => parts[2],
"perms" => parts[3],
"bytes" => parts[4].to_i,
"nattch" => parts[5].to_i,
- "status" => parts[6] ? parts[6] : "",
+ "status" => parts[6] || "",
}
ipc["shm"][parts[1].to_i] = segment
end
end