From 407d25f604855bf8a4e013ed1345a558cf9cfdfb Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Thu, 31 Mar 2016 15:05:08 +0200 Subject: [PATCH] ssh_filter_btrbk: cosmetics: fix indentation (remove tabs) --- ssh_filter_btrbk.sh | 54 ++++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/ssh_filter_btrbk.sh b/ssh_filter_btrbk.sh index 99949e5..9b214da 100755 --- a/ssh_filter_btrbk.sh +++ b/ssh_filter_btrbk.sh @@ -82,55 +82,55 @@ while [[ "$#" -ge 1 ]]; do case $key in -l|--log) - enable_log=1 - ;; + enable_log=1 + ;; --sudo) - use_sudo="sudo" - ;; + use_sudo="sudo" + ;; -p|--restrict-path) - restrict_path_list="${restrict_path_list}|${2%/}" # add to list while removing trailing slash - shift # past argument - ;; + restrict_path_list="${restrict_path_list}|${2%/}" # add to list while removing trailing slash + shift # past argument + ;; -s|--source) - allow_cmd "btrfs subvolume snapshot" - allow_cmd "btrfs send" - ;; + allow_cmd "btrfs subvolume snapshot" + allow_cmd "btrfs send" + ;; -t|--target) - allow_cmd "btrfs receive" + allow_cmd "btrfs receive" # the following are needed if targets point to a directory - allow_cmd "realpath" + allow_cmd "realpath" allow_exact_cmd "cat /proc/self/mounts" - ;; + ;; -d|--delete) - allow_cmd "btrfs subvolume delete" - ;; + allow_cmd "btrfs subvolume delete" + ;; -i|--info) - allow_cmd "btrfs subvolume find-new" - allow_cmd "btrfs filesystem usage" - ;; + allow_cmd "btrfs subvolume find-new" + allow_cmd "btrfs filesystem usage" + ;; --snapshot) - allow_cmd "btrfs subvolume snapshot" - ;; + allow_cmd "btrfs subvolume snapshot" + ;; --send) - allow_cmd "btrfs send" - ;; + allow_cmd "btrfs send" + ;; --receive) - allow_cmd "btrfs receive" - ;; + allow_cmd "btrfs receive" + ;; *) - echo "ERROR: ssh_filter_btrbk.sh: failed to parse command line option: $key" 1>&2 - exit 1 - ;; + echo "ERROR: ssh_filter_btrbk.sh: failed to parse command line option: $key" 1>&2 + exit 1 + ;; esac shift done