Browse Source

Different exit

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

+ 2
- 1
src/freedombone-controlpanel View File

@@ -1729,7 +1729,8 @@ function menu_top_level {
1729 1729
 
1730 1730
 if [[ $USER != 'root' ]]; then
1731 1731
     # show the user version of the control panel
1732
-    exit $(freedombone-controlpanel-user)
1732
+    freedombone-controlpanel-user
1733
+    exit 0
1733 1734
 fi
1734 1735
 
1735 1736
 if [ ! -f $COMPLETION_FILE ]; then