9 lines
144 B
Bash
Executable File
9 lines
144 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "$1" = "borg" ] && [ "$2" = "serve" ] ; then
|
|
# shellcheck disable=SC2068
|
|
$@ --restrict-to-path /data
|
|
else
|
|
exit 1
|
|
fi
|