diff sbin/check-ports @ 145:c4e9099a3d3e

FIX: Really use "printf" instead of "echo" when printing the version
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 30 Oct 2019 21:13:00 +0100
parents 6be3742d21f7
children 937c96ffe358
line wrap: on
line diff
--- a/sbin/check-ports	Wed Oct 30 17:24:44 2019 +0100
+++ b/sbin/check-ports	Wed Oct 30 21:13:00 2019 +0100
@@ -397,7 +397,7 @@
 while getopts "VAasv" _opt ; do
     case ${_opt} in
 	V)
-            echo 'check-ports v%s (rv:%s)\n' "${VERSION}" '@@HGREVISION@@'
+            printf 'check-ports v%s (rv:%s)\n' "${VERSION}" '@@HGREVISION@@'
             exit 0
 	    ;;
         A)