git-svn: correctly display fatal() error messages
[gitweb.git] / git-svn.perl
index e8b5c0966bf3a38fd0c55b003a36a25bad4d608f..599edc3dd5b3d4305ab2c39a0b1ee566669f4074 100755 (executable)
@@ -21,7 +21,7 @@
 $ENV{LC_ALL} = 'C';
 $| = 1; # unbuffer STDOUT
 
-sub fatal (@) { print STDERR $@; exit 1 }
+sub fatal (@) { print STDERR @_; exit 1 }
 # If SVN:: library support is added, please make the dependencies
 # optional and preserve the capability to use the command-line client.
 # use eval { require SVN::... } to make it lazy load