@@ -8,6 +8,7 @@ use Fcntl ':flock';
88use Getopt::Long qw(:config gnu_getopt);
99
1010my $nsenter = "@utillinux@/bin/nsenter";
11+my $su = "@su@";
1112
1213# Ensure a consistent umask.
1314umask 0022;
@@ -271,14 +272,14 @@ elsif ($action eq "login") {
271272}
272273
273274elsif ($action eq "root-login") {
274− runInContainer("su", "root", "-l");
275+ runInContainer("@su@", "root", "-l");
275276}
276277
277278elsif ($action eq "run") {
278279 shift @ARGV; shift @ARGV;
279280 # Escape command.
280281 my $s = join(' ', map { s/'/'\\''/g; "'$_'" } @ARGV);
281− runInContainer("su", "root", "-l", "-c", "exec " . $s);
282+ runInContainer("@su@", "root", "-l", "-c", "exec " . $s);
282283}
283284
284285elsif ($action eq "show-ip") {