commit d7588f1fa9d007184163fe5863f87be41d659177 parent 8b000a20cc367c727b9f2c0d8e68372d0c9df995 Author: Laurent Bercot <ska-skaware@skarnet.org> Date: Sun, 16 Jul 2017 22:20:31 +0000 Typo fix in touch.c Diffstat:
M | src/libstddjb/touch.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libstddjb/touch.c b/src/libstddjb/touch.c @@ -33,7 +33,7 @@ int touch (char const *file) if (fd < 0) return 0 ; r = futimes(fd, 0) >= 0 ; fd_close(fd) ; - return 1 ; + return r ; } #else