Procházet zdrojové kódy

* scripts/install-info.pl: Exit if the lock file already exists.
This change was lost when doing the i18n of the scripts.

Guillem Jover před 20 roky
rodič
revize
75e85c2ee9
2 změnil soubory, kde provedl 6 přidání a 0 odebrání
  1. 5 0
      ChangeLog
  2. 1 0
      scripts/install-info.pl

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2006-05-25  Guillem Jover  <guillem@debian.org>
+
+	* scripts/install-info.pl: Exit if the lock file already exists.
+	This change was lost when doing the i18n of the scripts.
+
 2006-05-25  Ben Pfaff  <blp@cs.stanford.edu>
 
 	* scripts/install-info.pl: Use %! instead if $! to check for EEXIST.

+ 1 - 0
scripts/install-info.pl

@@ -307,6 +307,7 @@ if (!$nowrite && !link($dirfile, "$dirfile.lock")) {
 	    $name, $! );
     printf( STDERR _g("try deleting %s?")."\n", "$dirfile.lock")
 	if $!{EEXIST};
+    exit 1;
 }
 
 open(OLD,$dirfile) || &ulquit(sprintf(_g("open %s: %s"), $dirfile, $!));