mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Minor fix.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2961 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9a02b6dac5
commit
7842e38587
@ -132,7 +132,7 @@ die "Usage: $0 <gnucash-filename>" if $#ARGV < 0;
|
||||
# open the file, read all of the accounts
|
||||
print "Opening file $ARGV[0]\n";
|
||||
$sess = gnucash::xaccMallocSession ();
|
||||
$grp = gnucash::xaccSessionBeginFile ($sess,$ARGV[0]);
|
||||
$grp = gnucash::xaccSessionBegin ($sess, "file:".$ARGV[0]);
|
||||
|
||||
die "failed to read file $ARGV[0], maybe its locked? " if (! $grp);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user