aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2005-09-08 14:10:09 +0000
committerFrederic Lepied <flepied@mandriva.com>2005-09-08 14:10:09 +0000
commit553468bbe4309b9c2d55277617c9b8429321cbbf (patch)
tree7c073092cecdf3631eabb2a9b57c9234a26b2df1
parentd42c59fd531dcabd3a0e39c9e0a9fe1dfa5d3259 (diff)
downloadmsec-553468bbe4309b9c2d55277617c9b8429321cbbf.tar
msec-553468bbe4309b9c2d55277617c9b8429321cbbf.tar.gz
msec-553468bbe4309b9c2d55277617c9b8429321cbbf.tar.bz2
msec-553468bbe4309b9c2d55277617c9b8429321cbbf.tar.xz
msec-553468bbe4309b9c2d55277617c9b8429321cbbf.zip
print_changes: make an exception for set_shell_history_size.
-rwxr-xr-xshare/shadow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/shadow.py b/share/shadow.py
index 8fbc8c6..e49ebb4 100755
--- a/share/shadow.py
+++ b/share/shadow.py
@@ -68,7 +68,7 @@ def print_changes():
import sys
for f in FAKE.values():
l = len(f[1])
- if l >= 1 and f[1][0] != -1:
+ if l >= 1 and (f[1][0] != -1 or f[0].__name__ == 'set_shell_history_size'):
name = f[0].__name__
try:
if f[0].one_arg: