From c372dc44c36653f2e8ec976b1dd46155db2382b4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 22 Dec 2015 20:30:28 +0000 Subject: [PATCH] Admin user --- src/freedombone-controlpanel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index e92ef144..f063399a 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -170,7 +170,7 @@ function delete_user { } function configure_remote_backups { - if ! grep -Fxq "Admin user:$SELECTED_USERNAME" $COMPLETION_FILE; then + if ! grep -Fxq "Admin user:$ADMIN_USER" $COMPLETION_FILE; then dialog --title $"Administrator user" \ --msgbox $"No Administrator user found. Check $COMPLETION_FILE" 6 40 return