mirror of
https://github.com/YunoHost-Apps/garage_ynh.git
synced 2024-09-03 18:36:32 +02:00
Update conf/mount_disk.sh: fix condition that creates the virtual disk
This commit is contained in:
parent
4f9c6bd047
commit
d1951c1435
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# If we're inside a container
|
||||
if systemd-detect-virt -c -q
|
||||
# If we're NOT inside a container
|
||||
if ! systemd-detect-virt -c -q
|
||||
then
|
||||
data_dir=__DATA_DIR__
|
||||
format=$1
|
||||
|
|
Loading…
Add table
Reference in a new issue