diff options
author | jstebbins <[email protected]> | 2015-05-15 21:28:46 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-05-15 21:28:46 +0000 |
commit | 857e9d35752fc2ff1397d7a677a12b9aca82ec7f (patch) | |
tree | 6e6965213358bd9c39ee76de6de1c92d297f863e /test/test.c | |
parent | 3b394866924deeb1c8b9291c1d62db566dc10394 (diff) |
cli: fix return value check for hb_presets_add_path()
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7191 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c index 640db68ae..81fcba610 100644 --- a/test/test.c +++ b/test/test.c @@ -1941,7 +1941,7 @@ static int ParseOptions( int argc, char ** argv ) while (optind < argc && argv[optind][0] != '-') { int result = hb_presets_add_path(argv[optind]); - if (result != 0) + if (result < 0) { fprintf(stderr, "Preset import failed, file (%s)\n", argv[optind]); |