Update run.go

This commit is contained in:
Daniel Hougaard
2024-08-27 20:10:11 +04:00
parent 632900e516
commit 2c7e342b18

View File

@@ -253,7 +253,7 @@ func executeSingleCommandWithEnvs(args []string, secretsCount int, env []string,
err := startCmd() // Initial command start, if no --watch flag is passed, it will work like in old versions of infisical CLI.
if err != nil {
if err.Error() == INTERRUPT_ERR.Error() {
log.Debug().Msg(color.HiMagentaString("Process was terminated manually by the user"))
log.Debug().Msg(("Process was terminated manually by the user"))
os.Exit(1)
}
util.HandleError(err, "Failed to start command")