libdevuansdk

common library for devuan's simple distro kits
git clone https://git.parazyd.org/libdevuansdk
Log | Files | Refs | Submodules | README | LICENSE

commit 226008739b7c297da97a974aae4389e138f684eb
parent 74185101e6aebf59f0391d7f12d60a2d962b36de
Author: parazyd <parazyd@dyne.org>
Date:   Thu, 26 Oct 2017 21:27:58 +0200

fix bug in silly(): always return true

Diffstat:
Mzlibs/helpers | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/zlibs/helpers b/zlibs/helpers @@ -396,5 +396,6 @@ silly() { "A million hamsters are spinning their wheels right now" ) local rnd=$(shuf -i1-$#funneh -n 1) - act "${funneh[$rnd]}" ; [[ $arg1 = sleep ]] && sleep $arg2 + act "${funneh[$rnd]}" + [[ $arg1 = sleep ]] && sleep $arg2 || true }