summaryrefslogtreecommitdiff
path: root/app-misc/vlock/files/vlock-2.2.3-echo-printf.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
commit90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch)
tree83fc5facb6b12be510a37bc3d241cc63e965b13a /app-misc/vlock/files/vlock-2.2.3-echo-printf.patch
parentfeb0daf81d888e9160f9f94502de09b66f2a63fd (diff)
gentoo resync : 29.06.2020
Diffstat (limited to 'app-misc/vlock/files/vlock-2.2.3-echo-printf.patch')
-rw-r--r--app-misc/vlock/files/vlock-2.2.3-echo-printf.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-misc/vlock/files/vlock-2.2.3-echo-printf.patch b/app-misc/vlock/files/vlock-2.2.3-echo-printf.patch
new file mode 100644
index 000000000000..fd3653fb2824
--- /dev/null
+++ b/app-misc/vlock/files/vlock-2.2.3-echo-printf.patch
@@ -0,0 +1,11 @@
+--- a/vlock 2020-06-22 10:03:48.700469805 -0000
++++ b/vlock 2020-06-22 10:03:57.880385148 -0000
+@@ -17,7 +17,7 @@
+ set -e
+
+ # Magic characters to clear the terminal.
+-CLEAR_SCREEN="`echo -e '\033[H\033[J'`"
++CLEAR_SCREEN="`printf '\033[H\033[J'`"
+
+ # Enter message that is common to different the messages.
+ VLOCK_ENTER_PROMPT="Please press [ENTER] to unlock."