summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortest-tools <test-tools>2006-10-10 21:03:07 +0000
committertest-tools <test-tools>2006-10-10 21:03:07 +0000
commitd76cb9cdbb79344a00134d8ccd92bde65de67b4e (patch)
tree01fb7f81bc0fe41a5f3d9c74a650506964c47c0d /src
parentba64a1a1b4ae7a36153cce3dafaad03a44acd3db (diff)
downloadberyl-manager-d76cb9cdbb79344a00134d8ccd92bde65de67b4e.tar.gz
beryl-manager-d76cb9cdbb79344a00134d8ccd92bde65de67b4e.tar.bz2
beryl-manager: Corrected wrong logic of "-d" switch
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 40c4478..92fe917 100644
--- a/src/main.c
+++ b/src/main.c
@@ -898,7 +898,7 @@ int main(int argc, char ** argv)
{
gint fd;
gint e;
- gboolean daemon_mode = FALSE;
+ gboolean daemon_mode = TRUE;
Display * d;
//Intialise error handler
@@ -923,7 +923,7 @@ int main(int argc, char ** argv)
printf (PACKAGE_STRING "\n");
return 0;
} else if (strcmp(argv[fd],"-d")==0) {
- daemon_mode = TRUE;
+ daemon_mode = FALSE;
} else {
usage(argv[0]);
return 1;