Better sudo loop

master
BrainwreckedTech 3 years ago
parent 3c682593bc
commit 6553730ca4

@ -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

Loading…
Cancel
Save