summaryrefslogtreecommitdiff
path: root/last-backups.in
diff options
context:
space:
mode:
Diffstat (limited to 'last-backups.in')
-rwxr-xr-xlast-backups.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/last-backups.in b/last-backups.in
index a636f46..84e8f64 100755
--- a/last-backups.in
+++ b/last-backups.in
@@ -71,7 +71,7 @@ do
'
)
)
- if [ -f "/tmp/${backupID}.pid" ] && pgrep '(^|/|\s)hardlinked-backup\S*$' | grep -qxF "$(cat "/tmp/${backupID}.pid")"; then
+ if [ -f "/tmp/${backupID}.pid" ] && [ -d "/proc/$(cat "/tmp/${backupID}.pid")" ]; then
laeuft='_laeuft'
else
laeuft=''