[LON-CAPA-cvs] cvs: loncom / apachereload
albertel
lon-capa-cvs@mail.lon-capa.org
Sat, 28 Jan 2006 00:52:29 -0000
albertel Fri Jan 27 19:52:29 2006 EDT
Modified files:
/loncom apachereload
Log:
- typo
Index: loncom/apachereload
diff -u loncom/apachereload:1.5 loncom/apachereload:1.6
--- loncom/apachereload:1.5 Fri Jan 27 16:21:05 2006
+++ loncom/apachereload Fri Jan 27 19:52:27 2006
@@ -3,7 +3,7 @@
#
# apachereload - setuid script that reloads the apache daemon.
#
-# $Id: apachereload,v 1.5 2006/01/27 21:21:05 albertel Exp $
+# $Id: apachereload,v 1.6 2006/01/28 00:52:27 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -46,7 +46,7 @@
use LONCAPA::Configuration;
my %perlvar= %{&LONCAPA::Configuration::read_conf('loncapa.conf')};
-my $execdir = ($perlvar{'lonDaemons'} =~/(.*)/);
+my ($execdir) = ($perlvar{'lonDaemons'} =~/(.*)/);
my $dist=`$execdir/distprobe`;
if ($dist =~ /^(suse|sles)/) {
$command = "/etc/init.d/apache reload";