www.nico.schottelius.org/software/ccollect/ccollect-0.8/contrib/jlawless-2009-06-03/h.patch
Nico Schottelius d62c475c9b add commit list
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-08-20 19:41:46 +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)"