From ec5b4733d8cca145ae7c296353e565a18c64efea Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 15 Jun 2005 08:54:21 +0000 Subject: [PATCH] (main): Fix my typo: s/argv[optind]/file[i]/. --- src/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.c b/src/install.c index 0fa08a2..b3d4129 100644 --- a/src/install.c +++ b/src/install.c @@ -360,7 +360,7 @@ main (int argc, char **argv) int cwd_errno = 0; for (i = 0; i < n_files; i++) { - if (cwd_errno != 0 && IS_RELATIVE_FILE_NAME (argv[optind])) + if (cwd_errno != 0 && IS_RELATIVE_FILE_NAME (file[i])) { error (0, cwd_errno, _("cannot return to working directory")); ok = false; -- 2.7.4