summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-08 00:37:32 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-08 00:37:32 +0000
commitb3b121a3fc4a7af423b6d295a1fe77d7e574c105 (patch)
treebd18ad60553b625a5bc136dade2cf0f38f3cd7ea
parent7880256bc58380f97d6ff10c05df005cbc3b07ab (diff)
Fixed syntax errors in SL2LS.pl
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@42 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xSL2LS.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/SL2LS.pl b/SL2LS.pl
index e5ffddcb..b68a8e05 100755
--- a/SL2LS.pl
+++ b/SL2LS.pl
@@ -7,7 +7,8 @@ $filedie = "To install manually:
rename the sql-ledger.conf to ledger-smb.conf
Delete the SL directory (optional but HIGHLY recommended)\n";
open (SL, "< sql-ledger.conf") || die (
-open (LS, "> ledger-smb.conf") || die {
+"Could not open ledger-smb.conf: $! \n $filedie");
+open (LS, "> ledger-smb.conf") || die (
"Could not open ledger-smb.conf: $! \n $filedie");
while ($line = <SL>){