1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garage_ynh.git synced 2024-09-03 18:36:32 +02:00
This commit is contained in:
oiseauroch 2022-11-29 16:02:53 +01:00
parent ac381b9490
commit 068220ad6e

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
if [ "$VIRTUALISATION" = "true" ] if [ "$VIRTUALISATION" = "true" ]
then then
nbd=__NBD_INDEX__ nbd=$1
umount /dev/nbd$nbd umount /dev/nbd$nbd
qemu-nbd --disconnect /dev/nbd$nbd qemu-nbd --disconnect /dev/nbd$nbd
fi fi