summaryrefslogtreecommitdiff
path: root/src/upgrade.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/upgrade.c')
-rw-r--r--src/upgrade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upgrade.c b/src/upgrade.c
index 14457b5..6c3eafa 100644
--- a/src/upgrade.c
+++ b/src/upgrade.c
@@ -42,7 +42,7 @@ static int option_parse_applet(void *ctx, struct apk_db_options *dbopts, int opt
uctx->solver_flags |= APK_SOLVERF_LATEST;
break;
default:
- return -1;
+ return -ENOTSUP;
}
return 0;
}