diff options
Diffstat (limited to '')
-rw-r--r-- | src/bltin/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bltin/test.c b/src/bltin/test.c index 6a2e02c..f0d62b7 100644 --- a/src/bltin/test.c +++ b/src/bltin/test.c @@ -376,7 +376,7 @@ filstat(char *nm, enum token mode) case FILSTCK: return (s.st_mode & S_ISVTX) != 0; case FILGZ: - return s.st_size > (off_t)0; + return !!s.st_size; case FILUID: return s.st_uid == geteuid(); case FILGID: |