From 6553730ca4c42b0a4a20c195cf2e7541a1e0116c Mon Sep 17 00:00:00 2001 From: BrainwreckedTech <3752022+BrainwreckedTech@users.noreply.github.com> Date: Mon, 20 Dec 2021 00:49:33 -0500 Subject: [PATCH] Better sudo loop --- filldev | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/filldev b/filldev index b2bb803..ddf85f9 100755 --- a/filldev +++ b/filldev @@ -1,9 +1,9 @@ #!/bin/bash -sudo echo "garbage" > /dev/null -while [ $? -ne 0 ]; do !!; done +false +while [ $? -ne 0 ]; do sudo true; done -SEC=falase +SEC=false for ARG in "$@"; do case "${ARG}" in