1
0
Fork 0
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:
Alexandre Aubin 2023-12-10 14:40:34 +01:00 committed by GitHub
parent 4f9c6bd047
commit d1951c1435
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# If we're inside a container # If we're NOT inside a container
if systemd-detect-virt -c -q if ! systemd-detect-virt -c -q
then then
data_dir=__DATA_DIR__ data_dir=__DATA_DIR__
format=$1 format=$1