diff --git a/jstat b/jstat index a7763fe..8e38bf8 100755 --- a/jstat +++ b/jstat @@ -1,7 +1,9 @@ #!/bin/bash +# make sure it doesn't run more than once pgrep -x "$(basename "$0")" | grep -v $$ >/dev/null && exit 0 +# placeholder for first loop pass xsetroot -name "Loading ..." while true; do