Skip to content

Commit debbff9

Browse files
committed
_sysvdirs: always return 0
It's not an error if any of the tests result in nonzero exit status.
1 parent 120bf77 commit debbff9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bash_completion

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ _sysvdirs()
9999
[[ -d /etc/init.d ]] && sysvdirs+=( /etc/init.d )
100100
# Slackware uses /etc/rc.d
101101
[[ -f /etc/slackware-version ]] && sysvdirs=( /etc/rc.d )
102+
return 0
102103
}
103104

104105
# This function checks whether we have a given program on the system.

0 commit comments

Comments
 (0)