|
@@ -292,7 +292,7 @@ method_post()
|
|
|
read TAGS
|
|
|
done
|
|
|
|
|
|
- SEND_MAIL="NOMAIL"
|
|
|
+ SEND_MAIL=""
|
|
|
ask "Send the log via email? [default: y]" "y" && SEND_MAIL="MAIL"
|
|
|
|
|
|
# Update of the pipe
|
|
@@ -300,7 +300,7 @@ method_post()
|
|
|
printf "%s\n" "${KIND}" >> $pipe
|
|
|
printf "%s\n" "${DATE}" >> $pipe
|
|
|
printf "%s\n" "${TAGS}" >> $pipe
|
|
|
- printf "%s\n" "${SEND_MAIL}" >> $pipe
|
|
|
+ [ -z "$SEND_MAIL" ] || printf "%s\n" "${SEND_MAIL}" >> $pipe
|
|
|
|
|
|
|
|
|
# Write log
|