summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmds-restore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds-restore.c b/cmds-restore.c
index c84ac17d..52c79f9f 100644
--- a/cmds-restore.c
+++ b/cmds-restore.c
@@ -1239,6 +1239,7 @@ int cmd_restore(int argc, char **argv)
root->node = read_tree_block(root, fs_location, root->leafsize, 0);
if (!root->node) {
fprintf(stderr, "Failed to read fs location\n");
+ ret = 1;
goto out;
}
}