commit | c69c702f85c44c9427fe8b97bbac3d3c8d6ba1e5 | [log] [tgz] |
---|---|---|
author | Klaus Kämpf <kkaempf@suse.de> | Thu Jan 30 16:00:30 2014 +0100 |
committer | Klaus Kämpf <kkaempf@suse.de> | Thu Jan 30 16:00:30 2014 +0100 |
tree | 2d23a8a28f6e4880535e45f547c78d319b44b6c8 | |
parent | b07994ed6ff97477a93aab68d6810e51d870a220 [diff] |
Set exit code 1 if wsman request fails (fixes issue #2)
diff --git a/src/wsman.c b/src/wsman.c index 7f40194..d314acd 100644 --- a/src/wsman.c +++ b/src/wsman.c
@@ -1030,6 +1030,7 @@ fprintf(stderr, "%s\n", wsmc_get_fault_string(cl)); } + retVal = 1; } wsmc_options_destroy(options); filter_destroy(filter);