From b90e3f28a243f3c53c49497ae13bee505190a196 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 4 Dec 2016 01:19:46 +0100 Subject: Calling container programm in container-shell to trigger notifications too. Signed-off-by: Daniel Baumann --- bin/container-shell | 2 +- share/sudo/container-tools | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/container-shell b/bin/container-shell index 9b45f72..3a14f7d 100755 --- a/bin/container-shell +++ b/bin/container-shell @@ -87,7 +87,7 @@ Shell () return else echo - sudo "/usr/lib/${SOFTWARE}/${PROGRAM}/${COMMAND}" "${OPTIONS}" || true + sudo ${PROGRAM} ${COMMAND} ${OPTIONS} || true fi } diff --git a/share/sudo/container-tools b/share/sudo/container-tools index ced273c..cd3f74d 100644 --- a/share/sudo/container-tools +++ b/share/sudo/container-tools @@ -1 +1 @@ -container ALL=NOPASSWD: /usr/lib/container-tools/container/* +container ALL=NOPASSWD: /usr/bin/container -- cgit v1.2.3