summaryrefslogtreecommitdiff
path: root/net-firewall/ufw/files/ufw-0.34_pre805-bash-completion.patch
blob: dc922435de10b9989e66d9baa3063bd3701c8b44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- shell-completion/bash
+++ shell-completion/bash
@@ -52,7 +52,6 @@
     echo "numbered verbose"
 }
 
-have ufw &&
 _ufw()
 {
     cur=${COMP_WORDS[COMP_CWORD]}
@@ -83,5 +82,5 @@
     fi
 }
 
-[ "$have" ] && complete -F _ufw ufw
+complete -F _ufw ufw