I believe this to be an error in install_initd.py

This is done twice:
        if not os.path.exists(initfile):

In my opinion the first one is redundant


if not os.path.exists(initfile):
  print("Error! Initfile", initfile, "does not exist. Exiting...",
file=sys.stderr) sys.exit(1)

if args.verbose:
  debug = 1
else:
  debug = 0

if args.dryrun:
  dryrun = 1
else:
  dryrun = 0

if not os.path.exists(initfile):
  print("Error:", initfile, "does not exist! Exiting...",
file=sys.stderr) print("Usage:",sys.argv[0],
os.path.join(initdDir,"<init-script>"), "[-v|--verbose] [-h|--help",
file=sys.stderr) sys.exit(1)
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to