use absent instead of present twice

Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
This commit is contained in:
Nico Schottelius 2015-03-01 20:57:16 +01:00
parent 64e22bdb11
commit e7308a1a61
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ case "$state_should" in
echo firewall-cmd --permanent --direct --add-rule \"$protocol\" \"$table\" \"$chain\" \"$priority\" $rule
;;
present)
absent)
echo firewall-cmd --permanent --direct --remove-rule \"$protocol\" \"$table\" \"$chain\" \"$priority\" $rule
;;
*)