aboutsummaryrefslogtreecommitdiffstats
path: root/share/libmsec.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/libmsec.py')
-rw-r--r--share/libmsec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/libmsec.py b/share/libmsec.py
index 2486089..d845bc9 100644
--- a/share/libmsec.py
+++ b/share/libmsec.py
@@ -1245,7 +1245,7 @@ def password_aging(max, inactive=-1):
if res and res2:
current_max = int(res.group(1))
if res2.group(2) == 'never':
- current_inactive = 99999
+ current_inactive = -1
else:
current_inactive = int(res2.group(2))
new_max = max