diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-09-05 14:44:57 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-09-05 14:44:57 +0200 |
commit | e6202ad942e39874a2834c204151f3013403ff1b (patch) | |
tree | 93c117125996087f1cf1b61fda2d77ecdcd3d57d | |
parent | f51917b65fe83d996589ce39f6727c6d71de9209 (diff) | |
download | uca-e6202ad942e39874a2834c204151f3013403ff1b.tar.gz uca-e6202ad942e39874a2834c204151f3013403ff1b.tar.bz2 uca-e6202ad942e39874a2834c204151f3013403ff1b.tar.xz uca-e6202ad942e39874a2834c204151f3013403ff1b.zip |
Return error code
-rw-r--r-- | test/grab.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/grab.c b/test/grab.c index 1dd573f..f7a7548 100644 --- a/test/grab.c +++ b/test/grab.c @@ -50,5 +50,6 @@ int main(int argc, char *argv[]) handle_error(uca_cam_stop_recording(cam)); uca_destroy(u); free(buffer); - return 0; + + return error != UCA_NO_ERROR ? 1 : 0; } |