diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2024-01-10 17:21:53 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2024-01-10 17:21:53 +0100 |
commit | f9abb57b94b66f3709aa537341d09526c0d0a962 (patch) | |
tree | 40ca6850e229ef243dc87ca7c984160d818c93b4 /root/posodobi.sh | |
parent | qlcplus.use.stable.version (diff) | |
download | n-f9abb57b94b66f3709aa537341d09526c0d0a962.tar n-f9abb57b94b66f3709aa537341d09526c0d0a962.tar.gz n-f9abb57b94b66f3709aa537341d09526c0d0a962.tar.bz2 n-f9abb57b94b66f3709aa537341d09526c0d0a962.tar.lz n-f9abb57b94b66f3709aa537341d09526c0d0a962.tar.xz n-f9abb57b94b66f3709aa537341d09526c0d0a962.tar.zst n-f9abb57b94b66f3709aa537341d09526c0d0a962.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 4b4324d..510bf17 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 > /dev/null || exit 0 + ps aux | grep posod[o]bi > /dev/null && exit 0 i=`sed s,^./,,g <<<$0` t=`mktemp -p "" $i.XXX.html` status=$? |