aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-01-03 17:14:47 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-01-03 17:14:47 +0100
commitffe7b25a710fdefe73d1e8035f105294c2ac873e (patch)
treebbb332626d337540f637fe0068c2661c7ba2ea83 /bin
parent3ec67bef94c4feacde558faf2cc68abf44890a32 (diff)
re-add some flags and fix exclusion
Diffstat (limited to 'bin')
-rwxr-xr-xbin/slw14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/slw b/bin/slw
index 03ed074..8794a77 100755
--- a/bin/slw
+++ b/bin/slw
@@ -20,6 +20,20 @@ while [ true ]; do
fi
if [ $(( $(rand) % 2 )) -gt 0 ]; then
+ FLAGS="${FLAGS}-d "
+ fi
+
+ if [ $(( $(rand) % 2 )) -gt 0 ]; then
+ FLAGS="${FLAGS}-F "
+ fi
+
+ if [ $(( $(rand) % 2 )) -gt 0 ]; then
+ FLAGS="${FLAGS}-G "
+ FLAGS=$(echo ${FLAGS} | sed 's/-c //g')
+ FLAGS=$(echo ${FLAGS} | sed 's/-l //g')
+ fi
+
+ if [ $(( $(rand) % 2 )) -gt 0 ]; then
FLAGS="${FLAGS}-l "
fi