Fix "backup: fix qubes.Restore service - do not send garbage as backup data"
This commit is contained in:
parent
29f5709c53
commit
fda293f09a
@ -11,7 +11,7 @@ if [ -f "$args" ] ; then
|
|||||||
else
|
else
|
||||||
echo "Checking if arguments is matching a command" >&2
|
echo "Checking if arguments is matching a command" >&2
|
||||||
COMMAND=`echo $args | cut -d ' ' -f 1`
|
COMMAND=`echo $args | cut -d ' ' -f 1`
|
||||||
if which "$COMMAND" 2>/dev/null; then
|
if which "$COMMAND" >/dev/null; then
|
||||||
tmpdir=`mktemp -d`
|
tmpdir=`mktemp -d`
|
||||||
mkfifo $tmpdir/backup-data
|
mkfifo $tmpdir/backup-data
|
||||||
echo "Redirecting $args to STDOUT" >&2
|
echo "Redirecting $args to STDOUT" >&2
|
||||||
|
Loading…
Reference in New Issue
Block a user