Commit 0d9e9251 by John Jarvis

Merge pull request #805 from edx/jarv/send-logs-bug-fixes

fixes some bugs introduced by the -c option
parents 0973f509 e6d8b2e6
......@@ -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