Skip to content

Commit

Permalink
tmp is not a file
Browse files Browse the repository at this point in the history
  • Loading branch information
HMside authored and HMside committed Feb 24, 2017
1 parent 1b36555 commit 0189349
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions addon/email
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if { [ catch {
set LOGFILE "/var/log/email.log"

# CLEAN UP
exec rm -r -f /usr/local/etc/config/addons/email/tmp
exec rm -r /usr/local/etc/config/addons/email/tmp
exec mkdir /usr/local/etc/config/addons/email/tmp/
exec chmod 755 /usr/local/etc/config/addons/email/tmp/

Expand Down Expand Up @@ -275,7 +275,7 @@ close $fp
exec cat /usr/local/etc/config/addons/email/tmp/ready.eml | /usr/local/etc/config/addons/email/msmtp -t -C /etc/config/addons/email/msmtp.conf

# CLEAN UP
exec rm -r -f /usr/local/etc/config/addons/email/tmp
exec rm -r /usr/local/etc/config/addons/email/tmp
exec mkdir /usr/local/etc/config/addons/email/tmp/
exec chmod 755 /usr/local/etc/config/addons/email/tmp/

Expand Down
4 changes: 2 additions & 2 deletions ccu1/email
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if { [ catch {
set LOGFILE "/var/log/email.log"

# CLEAN UP
exec rm -r -f /usr/local/etc/config/addons/email/tmp
exec rm -r /usr/local/etc/config/addons/email/tmp
exec mkdir /usr/local/etc/config/addons/email/tmp/
exec chmod 755 /usr/local/etc/config/addons/email/tmp/

Expand Down Expand Up @@ -275,7 +275,7 @@ close $fp
exec cat /usr/local/etc/config/addons/email/tmp/ready.eml | /usr/local/etc/config/addons/email/msmtp -t -C /etc/config/addons/email/msmtp.conf

# CLEAN UP
exec rm -r -f /usr/local/etc/config/addons/email/tmp
exec rm -r /usr/local/etc/config/addons/email/tmp
exec mkdir /usr/local/etc/config/addons/email/tmp/
exec chmod 755 /usr/local/etc/config/addons/email/tmp/

Expand Down

0 comments on commit 0189349

Please sign in to comment.