diff options
-rw-r--r-- | src/libstddjb/touch.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |