diff options
Diffstat (limited to 'cmds-send.c')
-rw-r--r-- | cmds-send.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds-send.c b/cmds-send.c index 41ea5236..9b47e706 100644 --- a/cmds-send.c +++ b/cmds-send.c @@ -495,6 +495,7 @@ int cmd_send_start(int argc, char **argv) subvol = realpath(argv[optind], NULL); if (!subvol) { + ret = -errno; fprintf(stderr, "ERROR: unable to resolve %s\n", argv[optind]); goto out; } @@ -519,6 +520,7 @@ int cmd_send_start(int argc, char **argv) for (i = optind; i < argc; i++) { subvol = realpath(argv[i], NULL); if (!subvol) { + ret = -errno; fprintf(stderr, "ERROR: unable to resolve %s\n", argv[i]); goto out; } |