freebsd-dev/sbin/bectl
Robert Wing 760987ecd3 bectl: make mount subcommand less verbose
The mount subcommand currently produces output such as:
    # bectl mount <bootenv>
    Successfully mounted <bootenv> at <mountpoint>

This commit changes it to only print the mountpoint:
    # bectl mount <bootenv>
    <mountpoint>

This makes it easier to script the mount subcommand. If an error occurs
while mounting, an error message is printed to stderr and bectl will
exit with a non-zero value.

PR:             273180
Reviewed by:    kevans, asomers
Differential Revision:	https://reviews.freebsd.org/D41562
2023-08-23 10:45:01 -08:00
..
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
bectl_jail.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
bectl_list.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
bectl.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
bectl.c bectl: make mount subcommand less verbose 2023-08-23 10:45:01 -08:00
bectl.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00