This commit is contained in:
Héctor Hurtado committed 2020-04-06 18:02:29 +02:00
1 parent 73ef493f04
commit e6e25f25c7
5 files changed
+56 -18

No files matched your search

+1 -2
View File
@@ -55,9 +55,8 @@ var ServerCmd = &cobra.Command{
os.Setenv("KAPOW_CONTROL_URL", "http://"+sConf.DataBindAddr)
}
go server.StartServer(sConf)
server.StartServer(sConf)
// start sub shell + ENV(KAPOW_CONTROL_URL)
if len(args) > 0 {
powfile := args[0]
_, err := os.Stat(powfile)