aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc
index 574020a..8d78325 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -266,6 +266,7 @@ int main(int argc, char **argv) {
266 FbTk::FbStringUtil::shutdown(); 266 FbTk::FbStringUtil::shutdown();
267 267
268 if (restarting) { 268 if (restarting) {
269 alarm(0);
269 if (!restart_argument.empty()) { 270 if (!restart_argument.empty()) {
270 const char *shell = getenv("SHELL"); 271 const char *shell = getenv("SHELL");
271 if (!shell) 272 if (!shell)