|
|||||||||||
|
Bug#445946: [apache2.2-common] /etc/init.d/apache2 restart gives an error when /bin/sh points to dash
From: <bugtracker(at)slideomania.com>
Date: Tue Oct 09 2007 - 05:45:03 EDT
When /bin/sh points to dash, invoking # /etc/init.d/apache2 restart gives the following error:
Forcing reload of web server (apache2).../etc/init.d/apache2: 172: [[: not
found
When /bin/sh points to bash, the above command works without any error message. Below is a diff between Debian's supplied file and my supposed changes. If applied, the script works without error output if /bin/sh points to dash. # diff -U 3 /etc/init.d/apache2 /tmp/apache2
# diff -C 3 /etc/init.d/apache2 /tmp/apache2
-- To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Tue Oct 9 05:51:53 2007 This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 02:58:19 EDT |
||||||||||
|
|||||||||||