mirror of
https://github.com/clearlinux/telemetrics-client.git
synced 2026-09-01 11:15:51 +00:00
Fix send record check bug
This change fixes a bug where the telem-record-gen probe returns 1 though the execution of the probe was successful. Signed-off-by: Alex Jaramillo <alex.v.jaramillo@intel.com>
This commit is contained in:
@@ -409,7 +409,7 @@ int main(int argc, char **argv)
|
||||
print_record(payload);
|
||||
}
|
||||
|
||||
if (opt_nopost == false && !send_record(payload)) {
|
||||
if (opt_nopost == false && send_record(payload) != 0) {
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user