summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-11-23 11:51:19 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-11-23 11:51:19 +0100
commit67ef819ebced1e46874b60abaef5876444585684 (patch)
tree0c5d80fa002f878ad665f4c8d8fc8ef7276a77a4 /src/common
parent8be4a55a573c07681bf691deab46999c41d16d38 (diff)
report back when saving preferences via command
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;
 }