Allow again periodic scripts to be run from command-line.

PR:		188109
Submitted by:	Jason Unovitch
MFC after:	1 week
This commit is contained in:
Jeremie Le Hen 2015-07-13 10:15:01 +00:00
parent a70fbf7ef5
commit 29513c141f

View File

@ -357,8 +357,12 @@ if [ -z "${source_periodic_confs_defined}" ]; then
*) return 0 ;; *) return 0 ;;
esac esac
;; ;;
'')
# Script run manually.
return 0
;;
*) *)
echo "ASSERTION FAILED: Unexpected value for " \ echo "ASSERTION FAILED: Unexpected value for" \
"\$PERIODIC: '$PERIODIC'" >&2 "\$PERIODIC: '$PERIODIC'" >&2
exit 127 exit 127
;; ;;