Update ssh_filter_btrbk.sh to use readlink

Replace realpath with readlink in allowed commands. Commit 796b6bd substituted readlink for realpath in file "btrbk"; this commit propagates the change to ssh_filter_btrbk.sh.
pull/104/head
TZdyrski 2016-08-18 11:45:07 -07:00 committed by GitHub
parent 66c36187ed
commit f717cb53ba
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ while [[ "$#" -ge 1 ]]; do
-t|--target) -t|--target)
allow_cmd "btrfs receive" allow_cmd "btrfs receive"
# the following are needed if targets point to a directory # the following are needed if targets point to a directory
allow_cmd "realpath" allow_cmd "readlink"
allow_exact_cmd "cat /proc/self/mounts" allow_exact_cmd "cat /proc/self/mounts"
;; ;;