summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-04-29 17:07:19 +0200
committerAlexander Larsson <alexl@redhat.com>2016-04-29 17:07:19 +0200
commit126d805e9033cb4b8ef00b39ae7282577325f70f (patch)
tree757cdbc0af2eab7e8b8a74386767be1740ce2d02 /app
parent5e06e18e6a14a226afaa7b40c772c860777c1d29 (diff)
oci: Use /bin/sh, not sh as the default command
runc doesn't look in PATH for this
Diffstat (limited to 'app')
-rw-r--r--app/xdg-app-builtins-build-bundle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/xdg-app-builtins-build-bundle.c b/app/xdg-app-builtins-build-bundle.c
index 51ef9c2..1c9cd80 100644
--- a/app/xdg-app-builtins-build-bundle.c
+++ b/app/xdg-app-builtins-build-bundle.c
@@ -628,7 +628,7 @@ generate_config_json (const char *arch)
{
json_writer_add_bool_property (&writer, "terminal", TRUE);
json_writer_add_array_property (&writer, "args");
- json_writer_add_array_item (&writer, "sh");
+ json_writer_add_array_item (&writer, "/bin/sh");
json_writer_close_array (&writer);
json_writer_add_array_property (&writer, "envs");
json_writer_add_array_item (&writer, "PATH=/app/bin:/usr/bin");