diff --git a/ssh_filter_btrbk.sh b/ssh_filter_btrbk.sh index 2ddbf6e..196bb69 100755 --- a/ssh_filter_btrbk.sh +++ b/ssh_filter_btrbk.sh @@ -102,7 +102,7 @@ while [[ "$#" -ge 1 ]]; do -t|--target) allow_cmd "btrfs receive" # the following are needed if targets point to a directory - allow_cmd "realpath" + allow_cmd "readlink" allow_exact_cmd "cat /proc/self/mounts" ;;