summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-08-28 15:39:11 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-08-28 15:39:11 +0000
commit0d023775f6107b13e727f02dee739764302fee18 (patch)
tree92b9af30c4a8a69055d50c97137c137635d640d2
parenta0d2a64e9620000f11f3164b8c5e8a01a151df72 (diff)
downloadbcfg2-0d023775f6107b13e727f02dee739764302fee18.tar.gz
bcfg2-0d023775f6107b13e727f02dee739764302fee18.tar.bz2
bcfg2-0d023775f6107b13e727f02dee739764302fee18.zip
Fix output redirection in cron jobs
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2125 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--debian/bcfg2.cron.daily2
-rw-r--r--debian/bcfg2.cron.hourly2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/bcfg2.cron.daily b/debian/bcfg2.cron.daily
index 02d0556f3..92e8ff02c 100644
--- a/debian/bcfg2.cron.daily
+++ b/debian/bcfg2.cron.daily
@@ -1,3 +1,3 @@
#!/bin/sh
[ -x /usr/lib/bcfg2/bcfg2-cron ] || exit 0
-/usr/lib/bcfg2/bcfg2-cron --daily 2>&1 > /dev/null || true
+/usr/lib/bcfg2/bcfg2-cron --daily > /dev/null 2>&1 || true
diff --git a/debian/bcfg2.cron.hourly b/debian/bcfg2.cron.hourly
index 7b1ac3ef1..1fdb9c30e 100644
--- a/debian/bcfg2.cron.hourly
+++ b/debian/bcfg2.cron.hourly
@@ -1,3 +1,3 @@
#!/bin/sh
[ -x /usr/lib/bcfg2/bcfg2-cron ] || exit 0
-/usr/lib/bcfg2/bcfg2-cron --hourly 2>&1 > /dev/null || true
+/usr/lib/bcfg2/bcfg2-cron --hourly > /dev/null 2>&1 || true