fix(includes): Avoid breaking is_btrfs if path doesn't exists
Some checks failed
gitea/evobackup/pipeline/head There was a failure building this commit

This should return with a err code of 1, not result in the entire
command breaking
This commit is contained in:
Mathieu Trossevin 2024-02-06 15:03:21 +01:00
parent 491c839014
commit f1d4e6ed9d
Signed by: mtrossevin
GPG key ID: D1DBB7EA828374E9

View file

@ -136,7 +136,7 @@ is_btrfs() {
inode=$(stat --format=%i "${path}")
test $inode -eq 256
test "$inode" -eq 256
}
# Returns the list of jails found in the "jails" directory (default)