summaryrefslogtreecommitdiff
path: root/src/cstore
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-03-21 18:15:50 +0100
committerChristian Poessinger <christian@poessinger.com>2019-03-21 18:15:50 +0100
commit2b2010c42b827e7d119d962c7f4a1bc00900800a (patch)
tree0a388eb60935c46ce1c287dc142e80246aff88ac /src/cstore
parent114f9488397ce436fc7cd2b555650d1c57211bec (diff)
downloadvyatta-cfg-2b2010c42b827e7d119d962c7f4a1bc00900800a.tar.gz
vyatta-cfg-2b2010c42b827e7d119d962c7f4a1bc00900800a.zip
T1310: use FQDN as hostname in config prompt
Diffstat (limited to 'src/cstore')
-rw-r--r--src/cstore/cstore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cstore/cstore.cpp b/src/cstore/cstore.cpp
index 1b1a4df..4750ba0 100644
--- a/src/cstore/cstore.cpp
+++ b/src/cstore/cstore.cpp
@@ -3069,7 +3069,7 @@ Cstore::get_shell_prompt(const string& level)
if (lvl.length() > 0) {
lvl = " " + lvl;
}
- return ("[edit" + lvl + "]\\n\\u@\\h# ");
+ return ("[edit" + lvl + "]\\n\\u@\\H# ");
}
// escape the single quotes in the string for shell