diff options
| author | typebrook <typebrook@gmail.com> | 2020-01-21 10:28:37 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2020-01-21 10:28:37 +0800 |
| commit | 1bf31dc65ef6f3a5a6516310fbeca5457a9305d8 (patch) | |
| tree | e2bb1194b0dfcb46c03a4c81a4029b30ccea8a0a /scripts/gist | |
| parent | 73f17d1f4a4cb1c467472a0e728971124199c233 (diff) | |
update
Diffstat (limited to 'scripts/gist')
| -rwxr-xr-x | scripts/gist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gist b/scripts/gist index 728ea57..b4b0d0b 100755 --- a/scripts/gist +++ b/scripts/gist | |||
| @@ -202,7 +202,7 @@ _set_gist() { | |||
| 202 | esac | 202 | esac |
| 203 | done | 203 | done |
| 204 | if [[ "$1" == '--' ]]; then shift; fi | 204 | if [[ "$1" == '--' ]]; then shift; fi |
| 205 | files=$@ | 205 | files="$@" && echo $files | xargs ls > /dev/null || exit 1 |
| 206 | } | 206 | } |
| 207 | 207 | ||
| 208 | _new_file() { | 208 | _new_file() { |