diff options
Diffstat (limited to 'debian/rsyslog.preinst')
-rw-r--r-- | debian/rsyslog.preinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rsyslog.preinst b/debian/rsyslog.preinst index 18897fc..ae2c5f0 100644 --- a/debian/rsyslog.preinst +++ b/debian/rsyslog.preinst @@ -2,7 +2,7 @@ set -e -if [ "$1" = "install" -a -n "$2" ] ; then +if [ "$1" = "install" ] && [ -n "$2" ] ; then [ -f /etc/logrotate.d/rsyslog.disabled ] && mv -f /etc/logrotate.d/rsyslog.disabled /etc/logrotate.d/rsyslog fi |