oops
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
c22e34afb2
commit
14af6b720f
4
ufwd
4
ufwd
|
@ -24,9 +24,11 @@ usage() {
|
||||||
upload() {
|
upload() {
|
||||||
declare file=$1
|
declare file=$1
|
||||||
|
|
||||||
upload_output=$( ufw "$@" -R "$file" )
|
upload_output=$( ufw -R "$@" "$file" )
|
||||||
upload_return=$?
|
upload_return=$?
|
||||||
|
|
||||||
|
echo "ufw $* -R $file"
|
||||||
|
|
||||||
if (( flag_enable_notifications )); then
|
if (( flag_enable_notifications )); then
|
||||||
if (( $upload_return )); then
|
if (( $upload_return )); then
|
||||||
notify-send 'ufwd' "File upload failed: $upload_output"
|
notify-send 'ufwd' "File upload failed: $upload_output"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user