Fix typo in raise call
parent
0a79c5a15b
commit
1276960d88
|
@ -259,7 +259,7 @@ module System
|
||||||
def nosuid?(mount_path)
|
def nosuid?(mount_path)
|
||||||
cmd_exec("mount | grep --color=never ' #{mount_path} '").to_s.include? 'nosuid'
|
cmd_exec("mount | grep --color=never ' #{mount_path} '").to_s.include? 'nosuid'
|
||||||
rescue
|
rescue
|
||||||
raise 'Unable to check for noexec volume'
|
raise 'Unable to check for nosuid volume'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue