Work on reading command responses

This commit is contained in:
Kovid Goyal
2022-08-22 15:11:00 +05:30
parent 91b15d1a90
commit 3a7d26a3ef
4 changed files with 127 additions and 22 deletions

View File

@@ -59,7 +59,7 @@ func run_CMD_NAME(cmd *cobra.Command, args []string) (err error) {
if err == nil {
timeout = rt
}
err = send_rc_command(rc, timeout)
err = send_rc_command(rc, timeout, STRING_RESPONSE_IS_ERROR)
return
}