Commit 815484f4 authored by Tollef Fog Heen's avatar Tollef Fog Heen
Browse files

Improve regex in lsb-base-logging.sh for X-Interactive scripts.

parent eed848f7
......@@ -6,6 +6,7 @@ systemd (17-1) UNRELEASED; urgency=low
[ Michael Biebl ]
* Bump build dependency on valac to (>= 0.10.3).
* Improve regex in lsb-base-logging.sh for X-Interactive scripts.
-- Tollef Fog Heen <tfheen@debian.org> Sun, 13 Feb 2011 08:31:09 +0100
......
......@@ -21,7 +21,7 @@ if [ -e /sys/fs/cgroup/systemd ] ; then
case "$0" in
/etc/init.d/*)
# Don't redirect if the init script has X-Interactive: true
if ! grep -qs "X-Interactive: true" "$0"; then
if ! grep -qs "^# X-Interactive:.*true" "$0"; then
_use_systemctl=1
fi
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment