Skip to content

Commit

Permalink
- Correct error message
Browse files Browse the repository at this point in the history
  • Loading branch information
0x111 committed May 1, 2019
1 parent b92b5d4 commit a628747
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rs-backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ func main() {
_, err = exec.Command(path, args...).Output()

if err != nil {
//log.Fatal(fmt.Printf("Command finished with error: %v", err))
fmt.Println("asd")
log.Fatal(fmt.Printf("Command finished with error: %v", err))
}

sendTo := viper.GetStringSlice("mail.to")
Expand Down Expand Up @@ -129,7 +128,7 @@ Content-Disposition: attachment; filename="rsync.log"
Content-Transfer-Encoding: base64
%s
--_rssbckkgthbscrpt14467_
--_rssbckkgthbscrpt14467_--
`

// variables to make ExamplePlainAuth compile, without adding
Expand Down

0 comments on commit a628747

Please sign in to comment.