summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-10-25 12:46:11 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-10-25 12:46:11 +0000
commit93f0376c14b28cfc96059c151fadc83bc8890b86 (patch)
treee891c2757f76743998e56d6f6903a9c22d7cebee /bin
parentAdding note about help for individual commands in container-shell program. (diff)
downloadcompute-tools-93f0376c14b28cfc96059c151fadc83bc8890b86.tar.xz
compute-tools-93f0376c14b28cfc96059c151fadc83bc8890b86.zip
Using sudo in container-shell.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/container-shell2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/container-shell b/bin/container-shell
index 5f75058..d910ae0 100755
--- a/bin/container-shell
+++ b/bin/container-shell
@@ -85,7 +85,7 @@ Shell ()
return
else
echo
- "/usr/lib/${SOFTWARE}/${PROGRAM}/${COMMAND}" "${OPTIONS}" || true
+ sudo "/usr/lib/${SOFTWARE}/${PROGRAM}/${COMMAND}" "${OPTIONS}" || true
fi
}