diff options
author | Andrew Gallatin <gallatin@FreeBSD.org> | 2023-03-30 21:57:26 +0000 |
---|---|---|
committer | Andrew Gallatin <gallatin@FreeBSD.org> | 2023-03-31 14:27:38 +0000 |
commit | 588f03ec9b9ebd3c17b3e978140ff3f3e4bcad73 (patch) | |
tree | dc4af7dde36e5025ffd0a793838707388bfc80fa /sbin/bectl | |
parent | c6ed8694ac58c8b81a5e4944cb96c2fa19b6ca79 (diff) | |
download | src-588f03ec9b9ebd3c17b3e978140ff3f3e4bcad73.tar.gz src-588f03ec9b9ebd3c17b3e978140ff3f3e4bcad73.zip |
Diffstat (limited to 'sbin/bectl')
-rw-r--r-- | sbin/bectl/bectl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/bectl/bectl.c b/sbin/bectl/bectl.c index 2b7af4e55419..814b98ba8a8a 100644 --- a/sbin/bectl/bectl.c +++ b/sbin/bectl/bectl.c @@ -584,9 +584,13 @@ main(int argc, char *argv[]) } if ((be = libbe_init(root)) == NULL) { - if (!cmd->silent) + if (!cmd->silent) { fprintf(stderr, "libbe_init(\"%s\") failed.\n", root != NULL ? root : ""); + if (root == NULL) + fprintf(stderr, + "Try specifying ZFS root using -r.\n"); + } return (-1); } |