summaryrefslogtreecommitdiff
path: root/src/install.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-10 20:32:19 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-10 20:32:19 +0000
commit811c61b049b020dbd0e21348d319215ff1d8d1af (patch)
treed9140be9ff485ee29520f7af8c085f832becb0fc /src/install.c
parent145d8040683f7243723fef6bbae1593d40342533 (diff)
downloadcoreutils-811c61b049b020dbd0e21348d319215ff1d8d1af.tar.xz
(change_timestamps): Fix int->bool conversion
bugs introduced on 2004-07-29.
Diffstat (limited to 'src/install.c')
-rw-r--r--src/install.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/install.c b/src/install.c
index 5879ecab2..c9e1f4d95 100644
--- a/src/install.c
+++ b/src/install.c
@@ -538,7 +538,7 @@ change_timestamps (const char *from, const char *to)
if (stat (from, &stb))
{
error (0, errno, _("cannot obtain time stamps for %s"), quote (from));
- return true;
+ return false;
}
timespec[0].tv_sec = stb.st_atime;
@@ -548,9 +548,9 @@ change_timestamps (const char *from, const char *to)
if (utimens (to, timespec))
{
error (0, errno, _("cannot set time stamps for %s"), quote (to));
- return true;
+ return false;
}
- return false;
+ return true;
}
/* Strip the symbol table from the file PATH.