summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/outbound.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index 3a4d379c..8ae1bb55 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -2889,7 +2889,14 @@ cmd_recv (struct session *sess, char *tbuf, char *word[], char *word_eol[])
 static int
 cmd_saveconf (struct session *sess, char *tbuf, char *word[], char *word_eol[])
 {
-	save_config ();
+	if (save_config ())
+	{
+		PrintText (sess, "Preferences have been saved successfully.\n");
+	}
+	else
+	{
+		PrintText (sess, "Error saving preferences.\n");
+	}
 
 	return TRUE;
 }