Skip to content

Commit 7c68c96

Browse files
committed
removed comments
1 parent bf31c25 commit 7c68c96

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

dcr.go

+1-5
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@ func execCommand(server Server, user string, command string) (exitCode int, stdo
133133
exit := 0
134134

135135
cmd := exec.Command("pmrun", "-h", server.Name, user, command)
136-
//cmd := exec.Command("echo", "Hello "+user)
137-
//cmd := exec.Command("ls", "Hello "+command)
138-
139-
//fmt.Println(cmd)
140136
cmd.Stdout = &stdoutBuf
141137
cmd.Stderr = &stderrBuf
142138
startErr := cmd.Start()
@@ -237,7 +233,7 @@ func main() {
237233
},
238234
Action: func(c *cli.Context) error {
239235
if environment == "" {
240-
log.Fatalf("Environment is required for exec")
236+
log.Fatalf("Error: environment flag is required for exec")
241237
}
242238
cmd := c.Args().Get(0)
243239
servers := getServers(configFile)

0 commit comments

Comments
 (0)