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