Add trailing slash to find command in init script, so people can have /etc/default as symlink
Ondřej Surý
8 years ago
18 | 18 | |
19 | 19 | # Global variables |
20 | 20 | DAEMON=/usr/sbin/saslauthd |
21 | DEFAULT_FILES=`find /etc/default -regex '/etc/default/saslauthd[_a-zA-Z0-9\-]*$' -print | sort` | |
21 | DEFAULT_FILES=`find /etc/default/ -regex '/etc/default/saslauthd[_a-zA-Z0-9\-]*$' -print | sort` | |
22 | 22 | |
23 | 23 | # Exit if the package is not installed |
24 | 24 | [ -x "$DAEMON" ] || exit 0 |