summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 81aab2d..401af42 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -563,7 +563,8 @@ main (int argc, char **argv)
*/
home_dir = g_get_home_dir ();
if (home_dir == NULL || chdir (home_dir) < 0)
- (void) chdir ("/");
+ if (chdir ("/") < 0)
+ g_warning ("Could not change working directory.");
options = terminal_options_parse (working_directory,
NULL,