Browse Source

Admin user

Bob Mottram 9 years ago
parent
commit
c372dc44c3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-controlpanel

+ 1
- 1
src/freedombone-controlpanel View File

@@ -170,7 +170,7 @@ function delete_user {
170 170
 }
171 171
 
172 172
 function configure_remote_backups {
173
-    if ! grep -Fxq "Admin user:$SELECTED_USERNAME" $COMPLETION_FILE; then
173
+    if ! grep -Fxq "Admin user:$ADMIN_USER" $COMPLETION_FILE; then
174 174
         dialog --title $"Administrator user" \
175 175
                --msgbox $"No Administrator user found. Check $COMPLETION_FILE" 6 40
176 176
         return