]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-daemon: make ps1 a raw string 31540/head
authorMichael Fritch <mfritch@suse.com>
Mon, 11 Nov 2019 21:07:49 +0000 (14:07 -0700)
committerMichael Fritch <mfritch@suse.com>
Mon, 11 Nov 2019 21:10:56 +0000 (14:10 -0700)
python3 interprets '\u' as a unicode escape

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/ceph-daemon/ceph-daemon

index befdd5f4f8e34d219d640f06a9cbb601c5c6a721..48ece8cb4aac1403c26066aabcebc92262fe4a8b 100755 (executable)
@@ -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: