From 8bf1e6cd5d0036c7c84076f2599ffecec3ef84db Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Tue, 20 Dec 2016 14:05:08 -0600 Subject: 73085: Enable credit card/ach encryption on a live system [v3 merge] --- FS-Test/bin/freeside-test-stop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FS-Test/bin') diff --git a/FS-Test/bin/freeside-test-stop b/FS-Test/bin/freeside-test-stop index 5e221a85b..ad355c3de 100755 --- a/FS-Test/bin/freeside-test-stop +++ b/FS-Test/bin/freeside-test-stop @@ -22,7 +22,7 @@ if (sudo grep -q '^test:' /usr/local/etc/freeside/htpasswd); then oldhtpasswd=$( cd /usr/local/etc/freeside; \ ls |grep -P 'htpasswd_\d{8}' | \ sort -nr |head -1 ) - if [ -f $oldhtpasswd ]; then + if [ -f /usr/local/etc/freeside/$oldhtpasswd ]; then echo "Renaming $oldhtpasswd to htpasswd." sudo mv /usr/local/etc/freeside/$oldhtpasswd \ /usr/local/etc/freeside/htpasswd -- cgit v1.2.1