From d7588f1fa9d007184163fe5863f87be41d659177 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 16 Jul 2017 22:20:31 +0000 Subject: Typo fix in touch.c --- src/libstddjb/touch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstddjb/touch.c') diff --git a/src/libstddjb/touch.c b/src/libstddjb/touch.c index f71a983..dc0c3cf 100644 --- 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 -- cgit v1.2.3