mirror of
https://github.com/axllent/mailpit.git
synced 2025-01-14 02:33:13 +02:00
Format code
This commit is contained in:
parent
5666462f29
commit
0ff73b7df6
2
main.go
2
main.go
@ -17,7 +17,7 @@ func main() {
|
|||||||
|
|
||||||
// running directly
|
// running directly
|
||||||
if normalize(filepath.Base(exec)) == normalize(filepath.Base(os.Args[0])) ||
|
if normalize(filepath.Base(exec)) == normalize(filepath.Base(os.Args[0])) ||
|
||||||
! strings.Contains(filepath.Base(os.Args[0]), "sendmail") {
|
!strings.Contains(filepath.Base(os.Args[0]), "sendmail") {
|
||||||
cmd.Execute()
|
cmd.Execute()
|
||||||
} else {
|
} else {
|
||||||
// symlinked as "*sendmail*"
|
// symlinked as "*sendmail*"
|
||||||
|
Loading…
Reference in New Issue
Block a user