summaryrefslogtreecommitdiffstats
path: root/root/posodobi.sh
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-11-15 01:35:26 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-11-15 01:35:26 +0100
commitb561620c7ba70e0878744767d2601b0a0b76bbed (patch)
tree5a1d891940a826aa4b9350938ac6a9de7d9af163 /root/posodobi.sh
parentc (diff)
downloadn-b561620c7ba70e0878744767d2601b0a0b76bbed.tar
n-b561620c7ba70e0878744767d2601b0a0b76bbed.tar.gz
n-b561620c7ba70e0878744767d2601b0a0b76bbed.tar.bz2
n-b561620c7ba70e0878744767d2601b0a0b76bbed.tar.lz
n-b561620c7ba70e0878744767d2601b0a0b76bbed.tar.xz
n-b561620c7ba70e0878744767d2601b0a0b76bbed.tar.zst
n-b561620c7ba70e0878744767d2601b0a0b76bbed.zip
Diffstat (limited to '')
-rwxr-xr-xroot/posodobi.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/root/posodobi.sh b/root/posodobi.sh
index 9f75dd4..4b4324d 100755
--- a/root/posodobi.sh
+++ b/root/posodobi.sh
@@ -1,6 +1,7 @@
#!/bin/bash
if grep "cron" <<<"$@" > /dev/null
then
+ ps aux | grep posod[o]bi > /dev/null || exit 0
i=`sed s,^./,,g <<<$0`
t=`mktemp -p "" $i.XXX.html`
status=$?