Commit e6d8b2e6 by John Jarvis

fixes some bugs introduced by the -c option

parent 0973f509
......@@ -36,7 +36,7 @@ usage() {
EO
}
while getopts "vhn" opt; do
while getopts "vhnc" opt; do
case $opt in
v)
set -x
......@@ -49,9 +49,11 @@ while getopts "vhn" opt; do
n)
noop="echo Would have run: "
shift
;;
c)
cron_exclude="--exclude '*log'"
cron_exclude=\-\-exclude\ '*log'
shift
;;
esac
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment