[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Popcon-developers] Bug#231958: popularity-contest: XSIism in cronjob



Package: popularity-contest
Version: 1.11
Severity: serious
Tags: patch

This is a #!/bin/sh script.

--- popularity-contest.orig	2004-02-09 16:33:25.689130693 -0500
+++ popularity-contest	2004-02-09 16:34:37.406684668 -0500
@@ -18,7 +18,7 @@
 if [ -z "$MAILTO" ]; then exit 0; fi
 
 # don't run if PARTICIPATE is "no" or unset!
-[ "$PARTICIPATE" = "no" -o -z "$PARTICIPATE" ] && exit 0
+[ "$PARTICIPATE" = "no" ] || [ -z "$PARTICIPATE" ] && exit 0
 
 # keep old logs
 cd /var/log




Reply to: