reading from stdin is back!
This commit is contained in:
parent
7a2945a1e3
commit
72f7dc1159
|
@ -396,9 +396,10 @@ if [ -n "${GIT_STATUSES}" ] && [ "${INTERACTIVE}" = "1" ]; then
|
||||||
printf "/!\ There are some uncommited changes.\n%s\n\n" "${GIT_STATUSES}"
|
printf "/!\ There are some uncommited changes.\n%s\n\n" "${GIT_STATUSES}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${MESSAGE}" ] && [ "${INTERACTIVE}" = "1" ]; then
|
if [ -z "${MESSAGE}" ]; then
|
||||||
# get input from stdin
|
if [ "${INTERACTIVE}" = "1" ]; then
|
||||||
printf "> Please, enter details about your maintenance:\n"
|
printf "> Please, enter details about your maintenance:\n"
|
||||||
|
fi
|
||||||
read -r MESSAGE
|
read -r MESSAGE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue