aboutsummaryrefslogtreecommitdiffstats
path: root/get-free-syslog-facility
diff options
context:
space:
mode:
Diffstat (limited to 'get-free-syslog-facility')
-rwxr-xr-xget-free-syslog-facility2
1 files changed, 1 insertions, 1 deletions
diff --git a/get-free-syslog-facility b/get-free-syslog-facility
index 192e0e4..4bbdba1 100755
--- a/get-free-syslog-facility
+++ b/get-free-syslog-facility
@@ -4,7 +4,7 @@
if [ -f /etc/syslog.conf ]; then
for (( i=0; i <= 7; i++ )); do
- if ! grep -q "local$i" /etc/syslog.conf; then
+ if ! grep -q "^local$i" /etc/syslog.conf; then
echo "local$i"
break
fi