diff options
author | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-12-09 01:05:29 (EST) |
---|---|---|
committer | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-12-09 01:05:29 (EST) |
commit | eb69adf86363bdf5a492aff0a264091346817f7e (patch) | |
tree | fda35cd1ce3942d3e793da7a922ce151374d385f /tests | |
parent | baa29393d2bf72533027eaf7d1ec18e7698503f3 (diff) |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libopkg_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]); |