[Initscripts-ng-commits] r1018 - /trunk/src/insserv/debian/patches/62_upstart_job.patch
pere at users.alioth.debian.org
pere at users.alioth.debian.org
Sat Sep 26 12:42:02 UTC 2009
Author: pere
Date: Sat Sep 26 12:41:59 2009
New Revision: 1018
URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=1018
Log:
Avoid making a bogus symlink a fatal error.
Modified:
trunk/src/insserv/debian/patches/62_upstart_job.patch
Modified: trunk/src/insserv/debian/patches/62_upstart_job.patch
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/62_upstart_job.patch?rev=1018&op=diff
==============================================================================
--- trunk/src/insserv/debian/patches/62_upstart_job.patch (original)
+++ trunk/src/insserv/debian/patches/62_upstart_job.patch Sat Sep 26 12:41:59 2009
@@ -33,7 +33,7 @@
+{
+ struct stat statbuf;
+ if (-1 == lstat(path, &statbuf)) {
-+ error("stat(%s): %s\n", path, strerror(errno));
++ return 0;
+ }
+ if (S_ISLNK(statbuf.st_mode)) {
+ char buf[2048];
More information about the Initscripts-ng-commits
mailing list