Fix SC2012.

remotes/origin/4.10
Darko Poljak 6 years ago
parent c58e12a4b9
commit 0f31a550cc
  1. 2
      cdist/conf/type/__iptables_apply/files/init-script

@ -25,7 +25,7 @@ case $1 in
# Apply our ruleset
cd "$basedir" || exit
count="$(ls -1 | wc -l)"
count="$(find . ! -name . -prune | wc -l)"
# Only do something if there are rules
if [ "$count" -ge 1 ]; then

Loading…
Cancel
Save