projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the "update" command work. Previously, you had to type "updd..."
[oweals/opkg-lede.git]
/
tests
/
libopkg_test.c
diff --git
a/tests/libopkg_test.c
b/tests/libopkg_test.c
index 70a924cb739615a6b6bfa4454e0d8bd8f3231566..1d1f7b6215bed939ae8b9d1e3df9f8c10f88971e 100644
(file)
--- a/
tests/libopkg_test.c
+++ b/
tests/libopkg_test.c
@@
-172,7
+172,7
@@
main (int argc, char **argv)
break;
case 'u':
- if (argv[1][
3
] == 'd')
+ if (argv[1][
2
] == 'd')
{
err = opkg_update_package_lists (progress_callback, "Updating...");
printf ("\nopkg_update_package_lists returned %d (%s)\n", err, errors[err]);