Initial commit
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
From 13d1bbbba793c3fb2b81bdc2789a9bf2a3809cd9 Mon Sep 17 00:00:00 2001
|
||||
From: "Chen.Zhao" <zhao.chen@luxshare-ict.com>
|
||||
Date: Tue, 17 Dec 2024 21:25:10 +0800
|
||||
Subject: [PATCH] Modify nbd proxy path The path of nbd-proxy is modified from
|
||||
/usr/sbin to /usr/bin
|
||||
|
||||
---
|
||||
include/luxshare/sel.hpp | 0
|
||||
include/luxshare/utils.hpp | 0
|
||||
include/vm_websocket.hpp | 2 +-
|
||||
3 files changed, 1 insertion(+), 1 deletion(-)
|
||||
mode change 100755 => 100644 include/luxshare/sel.hpp
|
||||
mode change 100755 => 100644 include/luxshare/utils.hpp
|
||||
|
||||
diff --git a/include/luxshare/sel.hpp b/include/luxshare/sel.hpp
|
||||
old mode 100755
|
||||
new mode 100644
|
||||
diff --git a/include/luxshare/utils.hpp b/include/luxshare/utils.hpp
|
||||
old mode 100755
|
||||
new mode 100644
|
||||
diff --git a/include/vm_websocket.hpp b/include/vm_websocket.hpp
|
||||
index 1b06a93d..a8d6a149 100644
|
||||
--- a/include/vm_websocket.hpp
|
||||
+++ b/include/vm_websocket.hpp
|
||||
@@ -56,7 +56,7 @@ class Handler : public std::enable_shared_from_this<Handler>
|
||||
void connect()
|
||||
{
|
||||
std::error_code ec;
|
||||
- proxy = boost::process::child("/usr/sbin/nbd-proxy", media,
|
||||
+ proxy = boost::process::child("/usr/bin/nbd-proxy", media,
|
||||
boost::process::std_out > pipeOut,
|
||||
boost::process::std_in < pipeIn, ec);
|
||||
if (ec)
|
||||
--
|
||||
2.25.1
|
||||
|
||||
Reference in New Issue
Block a user