diff options
Diffstat (limited to 'zshfunc')
-rw-r--r-- | zshfunc/reinit-debian-samhain-one | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zshfunc/reinit-debian-samhain-one b/zshfunc/reinit-debian-samhain-one index 774dbfd..1d3d4a8 100644 --- a/zshfunc/reinit-debian-samhain-one +++ b/zshfunc/reinit-debian-samhain-one @@ -25,7 +25,7 @@ ssh $host -t ' [ "$ans" = "y" ] || exit; echo Updating samhain db... - if [ -e /var/state/samhain/samhain_file ] ; then + if [ -e /var/state/samhain/samhain_file ] || [ -e /var/lib/samhain/samhain_file ]; then sudo -H samhain --foreground -t update -p none -s none -l none -m none else sudo -H samhain --foreground -t init -p none -s none -l none -m none |