Error creating LVM snapshot v2.2.4.0 Linux client

I’m getting the following error in my logs with the v2.2.4.0 Linux client running on Ubuntu 16.04:

/usr/local/share/urbackup/lvm_create_filesystem_snapshot: 3: /usr/local/share/urbackup/filesystem_snapshot_common: function: not found

Unlike the other scripts in that directory, the filesystem_snapshot_common script references /bin/sh which is the dash shell on Ubuntu which I suspect does not like the “function” keyword.

Thanks for the heads up. Should be fixed with this version: https://raw.githubusercontent.com/uroni/urbackup_backend/dev/linux_snapshot/filesystem_snapshot_common

Thanks for the quick response and no worries here as I had already manually fixed it.