diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-12-20 20:28:24 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-12-20 20:28:24 +0100 |
commit | 9930de9b840b71273264c07f744d3c7ad6401847 (patch) | |
tree | d3aadb2203a97acf4dc84a2dbd761092a68c3b55 /.local/bin/up | |
parent | f840844e9fa08418666a345c9018047c73ef72bb (diff) | |
parent | 05ab2138b70be840cd7f7629840ecdf454fb566e (diff) |
Merge branch 'master' of github.com:Mango0x45/dotfiles
Diffstat (limited to '.local/bin/up')
-rwxr-xr-x | .local/bin/up | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.local/bin/up b/.local/bin/up index 26afee2..b224ee4 100755 --- a/.local/bin/up +++ b/.local/bin/up @@ -1,9 +1,7 @@ #!/usr/local/bin/andy func upload file { - if test $file = '-' { - set file /dev/stdin - } + test $file != '-' || set file /dev/stdin curl ( --retry-all-errors -X POST |