summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-03-21 18:15:50 +0100
committerChristian Poessinger <christian@poessinger.com>2019-04-01 20:36:12 +0200
commit7de2cfdd667bd0a94f902f3a7fb97256702bebd0 (patch)
tree03c6b02e73d47af76b167bf7d96ffc76d37fefdd
parent420587518a0e844d335688b6d1eea6f1d18e18fc (diff)
downloadvyatta-cfg-7de2cfdd667bd0a94f902f3a7fb97256702bebd0.tar.gz
vyatta-cfg-7de2cfdd667bd0a94f902f3a7fb97256702bebd0.zip
T1310: use FQDN as hostname in config prompt
(cherry picked from commit 2b2010c42b827e7d119d962c7f4a1bc00900800a)
-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 2a9dd26..02e04ba 100644
--- a/src/cstore/cstore.cpp
+++ b/src/cstore/cstore.cpp
@@ -3057,7 +3057,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