mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -07:00
Update v-backup-users
This commit is contained in:
parent
d20f1aebd0
commit
75209618a0
1 changed files with 0 additions and 1 deletions
|
@ -5,7 +5,6 @@
|
||||||
# The function backups all system users.
|
# The function backups all system users.
|
||||||
|
|
||||||
scriptname="v-backup-users"
|
scriptname="v-backup-users"
|
||||||
pidof -x "$scriptname"
|
|
||||||
for pid in $(pidof -x "$scriptname"); do
|
for pid in $(pidof -x "$scriptname"); do
|
||||||
if [ $pid != $$ ]; then
|
if [ $pid != $$ ]; then
|
||||||
echo "[$(date)] : $scriptname : Process is already running with PID $pid"
|
echo "[$(date)] : $scriptname : Process is already running with PID $pid"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue