diff options
author | Roger Leigh <rleigh@debian.org> | 2012-05-23 23:08:39 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2012-05-23 23:45:40 +0100 |
commit | 7702eb5abb23ff2c91e10ba5e4f75bdd48bebbf9 (patch) | |
tree | 7407b7de3dc4383579826bc8e3eb1d2cf00d1f17 /bin/dchroot | |
parent | 96b10d979c314e327e9e27d70ae7d5d8b938bbf3 (diff) | |
download | schroot-7702eb5abb23ff2c91e10ba5e4f75bdd48bebbf9.tar.gz |
dchroot: Run command using /bin/sh, not user shell
Diffstat (limited to 'bin/dchroot')
-rw-r--r-- | bin/dchroot/dchroot-session.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dchroot/dchroot-session.cc b/bin/dchroot/dchroot-session.cc index 242960e9..6450296f 100644 --- a/bin/dchroot/dchroot-session.cc +++ b/bin/dchroot/dchroot-session.cc @@ -90,7 +90,7 @@ session::get_user_command (sbuild::chroot::ptr& session_chroot, std::string programstring = sbuild::string_list_to_string(command, " "); command.clear(); - command.push_back(get_shell()); + command.push_back("/bin/sh"); command.push_back("-c"); command.push_back(programstring); |