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
 }
170
 }
171
 
171
 
172
 function configure_remote_backups {
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
         dialog --title $"Administrator user" \
174
         dialog --title $"Administrator user" \
175
                --msgbox $"No Administrator user found. Check $COMPLETION_FILE" 6 40
175
                --msgbox $"No Administrator user found. Check $COMPLETION_FILE" 6 40
176
         return
176
         return