diff options
| author | Christian Poessinger <christian@poessinger.com> | 2019-03-21 18:15:50 +0100 |
|---|---|---|
| committer | Christian Poessinger <christian@poessinger.com> | 2019-04-01 20:36:12 +0200 |
| commit | 7de2cfdd667bd0a94f902f3a7fb97256702bebd0 (patch) | |
| tree | 03c6b02e73d47af76b167bf7d96ffc76d37fefdd | |
| parent | 420587518a0e844d335688b6d1eea6f1d18e18fc (diff) | |
| download | vyatta-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.cpp | 2 |
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 |
