Update v-backup-users

This commit is contained in:
myvesta 2021-04-04 18:55:49 +02:00 committed by GitHub
commit 75209618a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,6 @@
# The function backups all system users.
scriptname="v-backup-users"
pidof -x "$scriptname"
for pid in $(pidof -x "$scriptname"); do
if [ $pid != $$ ]; then
echo "[$(date)] : $scriptname : Process is already running with PID $pid"