[Popcon-commits] cvs commit to popularity-contest/debian by ballombe

ballombe at cvs.alioth.debian.org ballombe at cvs.alioth.debian.org
Fri Nov 30 10:15:12 UTC 2007


Update of /cvsroot/popcon/popularity-contest/debian
In directory alioth:/tmp/cvs-serv21148/debian

Modified Files:
	changelog cron.weekly 
Log Message:
add -s /bin/sh in case nobody has no shell


Index: changelog
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/debian/changelog,v
retrieving revision 1.371
retrieving revision 1.372
diff -u -d -r1.371 -r1.372
--- changelog	15 Aug 2007 15:20:58 -0000	1.371
+++ changelog	30 Nov 2007 10:15:08 -0000	1.372
@@ -9,7 +9,9 @@
   * popularity-contest used files regexp:
     - add support for php scripts
     - Add missing $ after .pm. Closes #431535, Thanks Gerfried Fuchs.
-  * cron.weekly: remove spurious 'sh -c' in run_popcon()
+  * cron.weekly, function run_popcon(): 
+    - remove spurious 'sh -c'
+    - add -s /bin/sh in case nobody has no shell. Closes: #429405, #431867.
 
  -- Bill Allombert <ballombe at debian.org>  Tue, 19 Jun 2007 17:04:48 +0200
 

Index: cron.weekly
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/debian/cron.weekly,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- cron.weekly	19 Jun 2007 15:06:21 -0000	1.20
+++ cron.weekly	30 Nov 2007 10:15:09 -0000	1.21
@@ -30,7 +30,7 @@
 
 run_popcon()
 {
-	su -c "/usr/sbin/popularity-contest" nobody
+	su -s /bin/sh -c "/usr/sbin/popularity-contest" nobody
 }
 
 do_sendmail()




More information about the Popcon-commits mailing list