diff options
author | Jim Meyering <jim@meyering.net> | 2005-06-15 08:54:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-06-15 08:54:21 +0000 |
commit | ec5b4733d8cca145ae7c296353e565a18c64efea (patch) | |
tree | 37f454cd3c13a08227112d071f806d1aa3b6dff0 | |
parent | 8add4ac9cb1291b89904a931870ab4841e694d59 (diff) | |
download | coreutils-ec5b4733d8cca145ae7c296353e565a18c64efea.tar.xz |
(main): Fix my typo: s/argv[optind]/file[i]/.
-rw-r--r-- | src/install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.c b/src/install.c index 0fa08a25b..b3d41293b 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; |