From: graham.gower Date: Wed, 9 Dec 2009 06:05:29 +0000 (+0000) Subject: Make the "update" command work. Previously, you had to type "updd..." X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eb69adf86363bdf5a492aff0a264091346817f7e;p=oweals%2Fopkg-lede.git Make the "update" command work. Previously, you had to type "updd..." For a test program, it can't have seen much testing. git-svn-id: http://opkg.googlecode.com/svn/trunk@475 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- diff --git a/tests/libopkg_test.c b/tests/libopkg_test.c index 70a924c..1d1f7b6 100644 --- 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]);