hid: implemented image mount/unmount
This commit is contained in:
@@ -3,7 +3,6 @@ package stream
|
||||
import (
|
||||
"log"
|
||||
"os/exec"
|
||||
"rkkvm/config"
|
||||
"strings"
|
||||
"sync"
|
||||
"syscall"
|
||||
@@ -29,7 +28,7 @@ func InitPipedCmd(cmds []string) *PipedCmd {
|
||||
continue
|
||||
}
|
||||
cmdArgs := strings.Split(cmd, " ")
|
||||
pipedCmds[i] = exec.Command(config.RootFS+"/"+cmdArgs[0], cmdArgs[1:]...)
|
||||
pipedCmds[i] = exec.Command(cmdArgs[0], cmdArgs[1:]...)
|
||||
}
|
||||
|
||||
pipedCmd = &PipedCmd{
|
||||
|
||||
Reference in New Issue
Block a user