diff options
Diffstat (limited to 'FS-Test/bin/freeside-test-stop')
-rwxr-xr-x | FS-Test/bin/freeside-test-stop | 2 |
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 |