From b2c77924cd80a911ddbfc5312a71ff2a0af16ee5 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 15 Mar 2021 16:13:39 +0100 Subject: [PATCH] Motd: Fix BackupPC test for server only --- update-motd.d/20-service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-motd.d/20-service b/update-motd.d/20-service index 5ab66a1..ddc68d4 100755 --- a/update-motd.d/20-service +++ b/update-motd.d/20-service @@ -88,7 +88,7 @@ fi ## ]]] ## WEB APPS [[[ ### IF BACKUPPC [[[ -if [ -d "/var/lib/backuppc" ]; then +if [ -d "/var/lib/backuppc/pc" ]; then MSG=$(process_info "backuppc" '') printf '%b' "\\n${MSG}" fi