diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 13:25:19 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 13:25:19 +0100 |
| commit | bbe2041959f116337ec5a326ff689cb80a906171 (patch) | |
| tree | 601d75a70b603ad7873705f494779a77fea6f64f | |
| parent | Add missing exit on failure (diff) | |
| download | asroot-bbe2041959f116337ec5a326ff689cb80a906171.tar.gz asroot-bbe2041959f116337ec5a326ff689cb80a906171.tar.bz2 asroot-bbe2041959f116337ec5a326ff689cb80a906171.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
| -rw-r--r-- | asroot.8 | 18 | ||||
| -rw-r--r-- | asroot.c | 2 |
2 files changed, 10 insertions, 10 deletions
@@ -1,4 +1,4 @@ -.TH ASROOT 8 asroot +.TH ASROOT 8 ASROOT .SH NAME asroot - run a process as the root user @@ -52,17 +52,17 @@ The .B asroot utility does not use the standard input, however the .I command -it starts may. +it starts may use it. .SH INPUT FILES None. .SH ENVIRONMENT VARIABLES -The following environment variables affects the execution of +The following environment variables affect the execution of .BR asroot : .TP -.SH PATH -Default. See to the Base Definitions volume of POSIX.1-2017, Section 8.3, Other Environment Variables. +.I PATH +Default. See the Base Definitions volume of POSIX.1-2017, Section 8.3, Other Environment Variables. .SH ASYNCHRONOUS EVENTS Default. @@ -72,7 +72,7 @@ The .B asroot utility does not use the standard output, however the .I command -it starts may. +it starts may use it. .SH STDERR The standard error is used for diagnostic messages and the @@ -94,7 +94,7 @@ If the utility fails it will exit with one of the following statuses: .TP 125 -A error occurred. +An error occurred. .TP 126 The process failed to change process image. @@ -124,11 +124,11 @@ None. The .I PATH environment variable will not be updated. -Updates environment variables are: +Updated environment variables are: .IR HOME , .IR LOGNAME , .IR MAIL , -.IR SHEEL , +.IR SHELL , and .IR USER . @@ -307,6 +307,6 @@ main(int argc, char *argv[]) } execvp(argv[0], argv); - fprintf(stderr, "%s: execvpe %s: %s\n", argv0, argv[0], strerror(errno)); + fprintf(stderr, "%s: execvp %s: %s\n", argv0, argv[0], strerror(errno)); return errno == ENOENT ? EXIT_NOENT : EXIT_EXEC; } |
