aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_main.cpp
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2014-06-04 18:30:59 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-06-15 19:28:51 +0200
commit6d8884de490d09902e9e31a90bab9ef490ef5d82 (patch)
treef4da5e3693ac6d0887afde8bfd329e1a83bfeea2 /src/pcu_main.cpp
parent77e58f602d52a1baaf0e11ee280d04126900c5f4 (diff)
Always exit and don't try to recover
The current code tries to recover from dropped connections and resets the pcu state so it can keep running. However, this never worked correctly which is why the -e option is used. This option exits the pcu as soon as the internal state needs to be reset. This patch removes this option and makes this behaviour default. Ticket: SYS#390 Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/pcu_main.cpp')
-rw-r--r--src/pcu_main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index c0dac142..8631ad33 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -56,7 +56,6 @@ static void print_help()
"provided by BTS\n"
" -r --realtime PRIO Use SCHED_RR with the specified "
"priority\n"
- " -e --exit Exit the application on disconnect\n"
);
}
@@ -105,7 +104,7 @@ static void handle_options(int argc, char **argv)
rt_prio = atoi(optarg);
break;
case 'e':
- gprs_bssgp_exit_on_destroy();
+ fprintf(stderr, "Warning: Option '-e' is deprecated!\n");
break;
default:
fprintf(stderr, "Unknown option '%c'\n", c);