flip better behaviour if errors

This commit is contained in:
2018-09-24 11:12:22 +03:00
parent a1e2a7b15d
commit 1609ac6bc8

View File

@@ -108,7 +108,7 @@ _read() {
} }
_read_file() { # name, file _read_file() { # name, file
curl "$FLEES_ROOTURL/download/$FLEES_SHARE/$FLEES_TOKEN/$1" > "$2" curl "$FLEES_ROOTURL/download/$FLEES_SHARE/$FLEES_TOKEN/$1" -o "$2"
} }
_read_stdout() { # name _read_stdout() { # name
curl -s "$FLEES_ROOTURL/download/$FLEES_SHARE/$FLEES_TOKEN/$1" curl -s "$FLEES_ROOTURL/download/$FLEES_SHARE/$FLEES_TOKEN/$1"