summaryrefslogtreecommitdiffstats
path: root/tools/descramble.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/descramble.c')
-rw-r--r--tools/descramble.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/descramble.c b/tools/descramble.c
index 3bf10a6b69..5d4975be26 100644
--- a/tools/descramble.c
+++ b/tools/descramble.c
@@ -87,8 +87,7 @@ int main (int argc, char** argv)
/* iRiver code dealt with in the iriver.c code */
iname = argv[2];
oname = argv[3];
- iriver_decode(iname, oname, FALSE, STRIP_NONE);
- return 0;
+ return iriver_decode(iname, oname, FALSE, STRIP_NONE) ? -1 : 0;
}
if(!strcmp(argv[1], "-gigabeat")) {
iname = argv[2];