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

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
1 changed files with 1 additions and 1 deletions

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)