Skip to content

Commit

Permalink
some output cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Etienne Stalmans committed Apr 27, 2017
1 parent 1c7e814 commit ab63a6f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ruler.go
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ func triggerForm(c *cli.Context) error {
suffix := c.String("suffix")
folderid := mapi.AuthSession.Folderids[mapi.INBOX]

utils.Debug.Println("Email sent! Hopefully you will have a shell soon.")
utils.Trace.Println("Creating Trigger message.")
msgid, err := forms.CreateFormTriggerMessage(suffix, subject, body)
if err != nil {
return err
Expand All @@ -542,9 +542,10 @@ func deleteForm(c *cli.Context) error {
folderid := mapi.AuthSession.Folderids[mapi.INBOX]

if _, err := forms.DeleteForm(suffix, folderid); err != nil {
utils.Error.Println("Failed to delete form.")
return err
}
utils.Info.Println("Form deleted")
utils.Info.Println("Form deleted successfully.")
return nil
}

Expand Down

0 comments on commit ab63a6f

Please sign in to comment.