www.nico.schottelius.org/software/ccollect/download/ccollect-0.8/contrib/jlawless-2009-06-03/h.patch
Nico Schottelius 851d24074e add related plus support
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2010-04-08 22:33:02 +02:00

18 lines
532 B
Diff

# A line in my f.patch was missing needed quotation marks.
# This fixes that.
#
--- ccollect-g.sh 2009-06-03 14:32:03.000000000 -0700
+++ ccollect-h.sh 2009-06-03 14:32:19.000000000 -0700
@@ -412,11 +412,11 @@
fi
#
# interval definition: First try source specific, fallback to default
#
- if [ ${INTERVAL} = "AUTO" ] ; then
+ if [ "${INTERVAL}" = "AUTO" ] ; then
auto_interval
_techo "Selected interval: '$INTERVAL'"
fi
c_interval="$(cat "${backup}/intervals/${INTERVAL}" 2>/dev/null)"