summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorKarol Wachowski <karol.wachowski@intel.com>2020-06-25 10:21:27 +0300
committerKurzynski, Zbigniew <zbigniew.kurzynski@intel.com>2020-06-30 07:37:36 +0300
commit4b240dcec0e167d87ce11d0828a41316037c74d3 (patch)
tree8802076029f507123e7b085f542a36deb74f698d /src/interfaces
parenta2cc634c56b044aaf39ec7fb80d33440f7cf37bf (diff)
downloadvirtual-media-4b240dcec0e167d87ce11d0828a41316037c74d3.tar.xz
Fix stopping usbgadget
Changed recursive removal (std::filesystem::remove_all) of all files in /sys/kernel/config/usb_gadget/ to rmdir operation (std::filesystem::remove). configfs does not allow recursive file removal and returns operation not permitted on such operations. It is required to execute rmmdir. Tested: verified that VirtualMedia drives can be restarted properly (stopped and started again) Change-Id: Ib0c66723b451e29f28c9c90029365385a41dc558 Signed-off-by: Karol Wachowski <karol.wachowski@intel.com>
Diffstat (limited to 'src/interfaces')
0 files changed, 0 insertions, 0 deletions