Skip to content
Snippets Groups Projects
Commit a8ae1e48 authored by Bob Mottram's avatar Bob Mottram
Browse files

One less space

parent 09029297
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ fi
image_extra=''
if [ -f $notification_image_filename ]; then
# extra option for mail command
image_extra="-A $notification_image_filename"
image_extra=" -A $notification_image_filename"
# If syncthing is installed then copy the image to the admin
if [ -d "/home/$ADMIN_USERNAME/Sync" ]; then
......@@ -112,7 +112,7 @@ fi
# send email to administrator
if [ "$SUBJECT" ]; then
# shellcheck disable=SC2086
echo "$MESSAGE" | mail -s "$SUBJECT" $image_extra "$ADMIN_EMAIL_ADDRESS"
echo "$MESSAGE" | mail -s "$SUBJECT"$image_extra "$ADMIN_EMAIL_ADDRESS"
fi
if [ -d /etc/prosody ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment