summaryrefslogtreecommitdiff
path: root/FS-Test
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-12-20 14:05:08 -0600
committerJonathan Prykop <jonathan@freeside.biz>2016-12-20 14:05:08 -0600
commit8bf1e6cd5d0036c7c84076f2599ffecec3ef84db (patch)
tree7adac60012815f487b41b9c62f1ed075ee9f9264 /FS-Test
parentc6c4fe08fadc92c4bbbbc5b09bcb7494478da97c (diff)
73085: Enable credit card/ach encryption on a live system [v3 merge]
Diffstat (limited to 'FS-Test')
-rwxr-xr-xFS-Test/bin/freeside-test-stop2
1 files changed, 1 insertions, 1 deletions
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