[omd-commits] OMD Git: omd: maintenance: fixed another crontab -u

git version control git at mathias-kettner.de
Fri Dec 24 18:15:36 CET 2010


Module: omd
Branch: master
Commit: 2c617611a6103b9337fe0e0f26dd2bb896ffc4fb
URL:    http://omdistro.org/projects/omd/repository/revisions/2c617611a6103b9337fe0e0f26dd2bb896ffc4fb

Author: Sven Nierlein <sven at nierlein.de>
Date:   Fri Dec 24 09:54:24 2010 +0100

maintenance: fixed another crontab -u

---

 packages/maintenance/skel/etc/init.d/crontab |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/packages/maintenance/skel/etc/init.d/crontab b/packages/maintenance/skel/etc/init.d/crontab
index a168ffe..58f0010 100644
--- a/packages/maintenance/skel/etc/init.d/crontab
+++ b/packages/maintenance/skel/etc/init.d/crontab
@@ -43,7 +43,7 @@ case "$1" in
         $0 start
         ;;
     status)
-        $CRONTAB -u $USER -l >/dev/null 2>&1
+        $CRONTAB -l >/dev/null 2>&1
         if [ $? -eq 0 ]; then
             echo "crontab initalized"
             exit 0



More information about the omd-commits mailing list