mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Fix for -pedantic -ansi compilation, change // to /**/, plus some signedness
and trailing-comma-in-array issues --HG-- extra : convert_revision : c22be8b8f570b48e9662dac32c7b3e7148a42206
This commit is contained in:
@@ -215,8 +215,8 @@ static void cli_sessionloop() {
|
||||
|
||||
if (cli_opts.backgrounded) {
|
||||
int devnull;
|
||||
// keeping stdin open steals input from the terminal and
|
||||
// is confusing, though stdout/stderr could be useful.
|
||||
/* keeping stdin open steals input from the terminal and
|
||||
is confusing, though stdout/stderr could be useful. */
|
||||
devnull = open(_PATH_DEVNULL, O_RDONLY);
|
||||
if (devnull < 0) {
|
||||
dropbear_exit("opening /dev/null: %d %s",
|
||||
|
||||
Reference in New Issue
Block a user