about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-01-16 09:22:43 +0100
committervanhauser-thc <vh@thc.org>2024-01-16 09:22:43 +0100
commite9621db61cd8e5a12988315dae728c50af807c34 (patch)
tree2b542d477e61019760361f488484395bf57fe7f9
parent68d883d4285b7adedb2cd87a034c28a76ce2aa8c (diff)
downloadafl++-e9621db61cd8e5a12988315dae728c50af807c34.tar.gz
sleep on uid != 0 afl-system-config
-rwxr-xr-xafl-system-config1
1 files changed, 1 insertions, 0 deletions
diff --git a/afl-system-config b/afl-system-config
index c633e4e8..7e2cb688 100755
--- a/afl-system-config
+++ b/afl-system-config
@@ -25,6 +25,7 @@ echo "WARNING: this reduces the security of the system!"
 echo
 if [ '!' "$EUID" = 0 ] && [ '!' `id -u` = 0 ] ; then
 	echo "Warning: you need to be root to run this!"
+	sleep 1
 	# we do not exit as other mechanisms exist that allows to do this than
 	# being root. let the errors speak for themselves.
 fi