From: Michael Fritch Date: Mon, 11 Nov 2019 21:07:49 +0000 (-0700) Subject: ceph-daemon: make ps1 a raw string X-Git-Tag: v15.1.0~950^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ebcc1b5e718d9aad9f54c1fea82dc9768ff2a546;p=ceph.git ceph-daemon: make ps1 a raw string python3 interprets '\u' as a unicode escape Signed-off-by: Michael Fritch --- diff --git a/src/ceph-daemon/ceph-daemon b/src/ceph-daemon/ceph-daemon index befdd5f4f8e3..48ece8cb4aac 100755 --- a/src/ceph-daemon/ceph-daemon +++ b/src/ceph-daemon/ceph-daemon @@ -8,7 +8,7 @@ UNIT_DIR='/etc/systemd/system' LOG_DIR_MODE=0o770 DATA_DIR_MODE=0o700 PODMAN_PREFERENCE = ['podman', 'docker'] # prefer podman to docker -CUSTOM_PS1='[ceph: \u@\h \W]\\$ ' +CUSTOM_PS1=r'[ceph: \u@\h \W]\\$ ' """ You can invoke ceph-daemon in two ways: