diff options
| author | wukong <wukong@longaeva> | 2026-05-23 22:43:50 -0700 |
|---|---|---|
| committer | wukong <wukong@longaeva> | 2026-05-23 22:43:50 -0700 |
| commit | af06a1f5a3bda676769b0dc6c88d4502575f0e90 (patch) | |
| tree | 35ee72595af6f03d3cc728a1d524031b4d692735 | |
| parent | f023f3cd1099d238ad54d76538ac40d6efb02cce (diff) | |
corrected missed lock file path pointing to /var/tmp;
corrected typo in printf statement;
| -rw-r--r-- | start-cisco678polld.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/start-cisco678polld.sh b/start-cisco678polld.sh index c26ced4..e2d98c3 100644 --- a/start-cisco678polld.sh +++ b/start-cisco678polld.sh @@ -10,7 +10,7 @@ DAEMON=cisco678polld.sh DPATH=~/srcz/mon_rrd -DLOCK=/var/tmp/${DAEMON}.lock +DLOCK=/tmp/rrd/${DAEMON}.lock ### check lock file @@ -38,7 +38,7 @@ cklockpid() { printf "proc is running, lock is valid" fi else - pritf lock pid does not exist\n" + printf lock pid does not exist\n" fi } |
