SHA256
1
0
forked from cockpit/cockpit
cockpit/fix-docker-path.patch

25 lines
1.3 KiB
Diff
Raw Normal View History

diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-cockpit-0.38/pkg/shell/cockpit-docker.js ./pkg/shell/cockpit-docker.js
--- ../orig-cockpit-0.38/pkg/shell/cockpit-docker.js 2015-01-28 13:35:16.000000000 +0100
+++ ./pkg/shell/cockpit-docker.js 2015-02-07 17:41:48.753807824 +0100
@@ -1810,7 +1810,7 @@
if (watch && watch.valid)
watch.close();
- watch = cockpit.channel({ payload: "fsdir1", path: "/var/lib/docker" });
+ watch = cockpit.channel({ payload: "fsdir1", path: "/usr/bin/docker" });
$(watch).on("message", function(event, data) {
trigger_event();
});
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-cockpit-0.38/shell.js ./shell.js
--- ../orig-cockpit-0.38/shell.js 2015-01-28 13:35:22.000000000 +0100
+++ ./shell.js 2015-02-07 17:42:24.427286289 +0100
@@ -16383,7 +16383,7 @@
if (watch && watch.valid)
watch.close();
- watch = cockpit.channel({ payload: "fsdir1", path: "/var/lib/docker" });
+ watch = cockpit.channel({ payload: "fsdir1", path: "/usr/bin/docker" });
$(watch).on("message", function(event, data) {
trigger_event();
});