diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2024-02-10 00:17:33 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2024-02-10 00:17:33 +0100 |
commit | 8ae3b3514e85e544ffa8283e05ea9efc333f3e34 (patch) | |
tree | ed5f8fbf38ef3258789d939e6b859a3e86717d71 /root/posodobi.sh | |
parent | oops.wrong.make.prev.commit (diff) | |
download | n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.gz n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.bz2 n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.lz n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.xz n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.zst n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.zip |
Diffstat (limited to '')
-rwxr-xr-x | root/posodobi.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/root/posodobi.sh b/root/posodobi.sh index fd52007..a48a7d4 100755 --- a/root/posodobi.sh +++ b/root/posodobi.sh @@ -1,7 +1,7 @@ #!/bin/bash if grep "cron" <<<"$@" > /dev/null then - [ `ps aux | grep posod[o]bi | wc -l` -gt 1 ] && { echo posodobi.sh že teče. takole:; ps aux | grep posod[o]bi; exit 0; } + # [ `ps aux | grep posod[o]bi | wc -l` -gt 1 ] && { echo posodobi.sh že teče. takole:; ps aux | grep posod[o]bi; exit 0; } i=`sed s,^./,,g <<<$0` t=`mktemp -p "" $i.XXX.html` status=$? |