pkgtools

morpheus pkg tools
git clone git://git.2f30.org/pkgtools
Log | Files | Refs | README | LICENSE

commit 3106708e245a3f94147f38866fc7c336bb269fa6
parent 97db38accf23171ea006ca0d6d12c7bfe4debe0c
Author: sin <sin@2f30.org>
Date:   Fri, 30 May 2014 14:35:10 +0100

Style fix

Diffstat:
Mremovepkg.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/removepkg.c b/removepkg.c @@ -145,13 +145,13 @@ removepkg(const char *f) continue; } - if (S_ISDIR(sb.st_mode)) { + if (S_ISDIR(sb.st_mode) == 1) { if (fflag == 0) printf("ignoring directory %s\n", buf); continue; } - if (S_ISLNK(sb.st_mode)) { + if (S_ISLNK(sb.st_mode) == 1) { if (fflag == 0) { printf("ignoring link %s\n", buf); continue;