aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/shadow.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/shadow.py b/share/shadow.py
index 149246e..3a79563 100755
--- a/share/shadow.py
+++ b/share/shadow.py
@@ -53,7 +53,9 @@ def commit_changes():
for f in FAKE.values():
if len(f[1]) >= 1 and f[1][0] != -1:
apply(f[0], f[1])
-
+ elif len(f[1]) == 0:
+ apply(f[0])
+
def print_changes():
import sys
for f in FAKE.values():