From 14af6b720f0a98500940090b60cbf0ed8442964b Mon Sep 17 00:00:00 2001 From: fbt Date: Thu, 9 May 2019 23:55:03 +0300 Subject: [PATCH] oops Signed-off-by: fbt --- ufwd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ufwd b/ufwd index 76997f4..9d58556 100755 --- a/ufwd +++ b/ufwd @@ -24,9 +24,11 @@ usage() { upload() { declare file=$1 - upload_output=$( ufw "$@" -R "$file" ) + upload_output=$( ufw -R "$@" "$file" ) upload_return=$? + echo "ufw $* -R $file" + if (( flag_enable_notifications )); then if (( $upload_return )); then notify-send 'ufwd' "File upload failed: $upload_output"