Better sudo loop

This commit is contained in:
BrainwreckedTech 2021-12-20 00:49:33 -05:00
parent 3c682593bc
commit 6553730ca4

View File

@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
sudo echo "garbage" > /dev/null false
while [ $? -ne 0 ]; do !!; done while [ $? -ne 0 ]; do sudo true; done
SEC=falase SEC=false
for ARG in "$@"; do for ARG in "$@"; do
case "${ARG}" in case "${ARG}" in