config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 63338c27ec73ba8f6555219cdd1f9e2c12996edd
parent c877ab9eddb749dd7de61ace2f5f8a988a75ba0a
Author: Jacob R. Edwards <n/a>
Date:   Mon,  7 Mar 2022 00:10:03 -0800

Fix runaway process in dl with no arguments

Diffstat:
Mlocal/bin/bin/dl | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/local/bin/bin/dl b/local/bin/bin/dl @@ -4,6 +4,9 @@ # Download files specified by URLs to their basename, decoded, and # cleaned +if (~ $#* 0) + exit 0 + fn download { if (test -e $2) curl -SsL -^(z o)^$2 $1