Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

Commit

Permalink
Fix su
Browse files Browse the repository at this point in the history
  • Loading branch information
dcolascione committed Mar 17, 2016
1 parent e5a3ebd commit b230619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd_stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ static void __attribute__((noreturn))
re_exec_as_root()
{
should_send_error_packet = false; // Peer expects text
xexecvp("su", ARGV("su", "-c", orig_argv0, "stub"));
xexecvp("su", ARGV("su", "0", orig_argv0, "stub"));
}

static void __attribute__((noreturn))
Expand Down

0 comments on commit b230619

Please sign in to comment.