summaryrefslogtreecommitdiffstats
path: root/password-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'password-model.lua')
-rw-r--r--password-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/password-model.lua b/password-model.lua
index 2f81bff..e4dfb22 100644
--- a/password-model.lua
+++ b/password-model.lua
@@ -7,7 +7,7 @@ require "format"
get = function (self)
--hardcoded for root now
f = format.search_for_lines("/etc/shadow", "root:")
- temp = format.string_to_table(":", f)
+ temp = format.string_to_table(f,":")
if temp[2] == "!" then
status = "not set"
else