summaryrefslogtreecommitdiff
path: root/convert-objects.c
diff options
context:
space:
mode:
Diffstat (limited to 'convert-objects.c')
-rw-r--r--convert-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/convert-objects.c b/convert-objects.c
index cf03bcf..cefbceb 100644
--- a/convert-objects.c
+++ b/convert-objects.c
@@ -88,7 +88,7 @@ static int write_subdirectory(void *buffer, unsigned long size, const char *base
unsigned int mode;
char *slash, *origpath;
- if (!path || strtoul_ui(buffer, 8, &mode) != 1)
+ if (!path || strtoul_ui(buffer, 8, &mode))
die("bad tree conversion");
mode = convert_mode(mode);
path++;