From 1bf31dc65ef6f3a5a6516310fbeca5457a9305d8 Mon Sep 17 00:00:00 2001 From: typebrook Date: Tue, 21 Jan 2020 10:28:37 +0800 Subject: update --- scripts/gist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/gist') diff --git a/scripts/gist b/scripts/gist index 728ea57..b4b0d0b 100755 --- a/scripts/gist +++ b/scripts/gist @@ -202,7 +202,7 @@ _set_gist() { esac done if [[ "$1" == '--' ]]; then shift; fi - files=$@ + files="$@" && echo $files | xargs ls > /dev/null || exit 1 } _new_file() { -- cgit v1.2.3-70-g09d2