Minor fix.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2961 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-09-27 19:57:13 +00:00
parent 9a02b6dac5
commit 7842e38587

View File

@ -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);