commit 03a8240a9cce607b8632178bb243a1d79f80e15e parent bd1580151e0b7041e80990d2da9ac5025946d5f5 Author: sin <sin@2f30.org> Date: Wed, 29 Jul 2015 14:50:10 +0100 sprunge: Fix indentation Diffstat:
M | sprunge | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/sprunge b/sprunge @@ -6,7 +6,8 @@ SPRUNGE() { curl -F 'sprunge=<-' http://sprunge.us } -if test -z "$1" -then cat - | SPRUNGE -else cat "$1" | SPRUNGE +if test -z "$1"; then + cat - | SPRUNGE +else + cat "$1" | SPRUNGE fi