diff options
Diffstat (limited to 'tools/scramble.c')
| -rw-r--r-- | tools/scramble.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/scramble.c b/tools/scramble.c index c02c789..5263809 100644 --- a/tools/scramble.c +++ b/tools/scramble.c @@ -287,8 +287,7 @@ int main (int argc, char** argv) /* iRiver code dealt with in the iriver.c code */ iname = argv[2]; oname = argv[3]; - iriver_encode(iname, oname, FALSE); - return 0; + return (iriver_encode(iname, oname, FALSE) != 0) ? -1 : 0; } else if(!strcmp(argv[1], "-gigabeat")) { /* iRiver code dealt with in the iriver.c code */ |