X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=entry.c;h=c540ae13e858685faa8dbbada5b064074235ae6d;hb=792d2370f975f032a708cb35044193b5b5310840;hp=ae6476496a81b23938569ab0e4c148ba45aba923;hpb=a77a33a51df9b7655d80299487ec6fbb10445496;p=git.git diff --git a/entry.c b/entry.c index ae6476496..c540ae13e 100644 --- a/entry.c +++ b/entry.c @@ -31,7 +31,7 @@ static void remove_subtree(const char *path) struct dirent *de; char pathbuf[PATH_MAX]; char *name; - + if (!dir) die("cannot opendir %s (%s)", path, strerror(errno)); strcpy(pathbuf, path);