[slrn] Run slrnpull-expire cron job with a shell
Petr Pisar
ppisar at fedoraproject.org
Mon Feb 11 12:31:40 UTC 2013
commit 7720606a54ed4d54f4e6f2e478ffce1892d3b878
Author: Petr Písař <ppisar at redhat.com>
Date: Mon Feb 11 13:25:18 2013 +0100
Run slrnpull-expire cron job with a shell
slrn.spec | 1 +
slrnpull-expire | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/slrn.spec b/slrn.spec
index 46b6f18..f051a28 100644
--- a/slrn.spec
+++ b/slrn.spec
@@ -104,6 +104,7 @@ exit 0
- Improve README.rpm-slrnpull spelling
- Create news user and group on installation
- Rotate log as news user (bug #909660)
+- Run slrnpull-expire cron job with a shell (bug #909661)
* Tue Jan 08 2013 Petr Pisar <ppisar at redhat.com> - 1.0.1-1
- 1.0.1 bump
diff --git a/slrnpull-expire b/slrnpull-expire
index a7b3562..185ca14 100644
--- a/slrnpull-expire
+++ b/slrnpull-expire
@@ -2,5 +2,5 @@
umask 022
if [ -d /var/spool/slrnpull ]; then
- exec runuser news -c 'slrnpull --expire'
+ exec runuser -s /bin/sh news -c 'slrnpull --expire'
fi
More information about the scm-commits
mailing list