Signed-off-by: Jeff Moyer <[email protected]>
---
ndctl/load-keys.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/ndctl/load-keys.c b/ndctl/load-keys.c
index 981f80f..f0b7a5a 100644
--- a/ndctl/load-keys.c
+++ b/ndctl/load-keys.c
@@ -185,7 +185,6 @@ static int load_keys(struct loadkeys *lk_ctx, const char
*keypath,
rc = chdir(keypath);
if (rc < 0) {
- rc = -errno;
fprintf(stderr, "Change current work dir to %s failed: %s\n",
param.key_path, strerror(errno));
rc = -errno;
--
2.19.1
_______________________________________________
Linux-nvdimm mailing list -- [email protected]
To unsubscribe send an email to [email protected]