Fix handling of the real root
diff --git a/utils/run-init.c b/utils/run-init.c
index c1d34f1..6f72ccd 100644
--- a/utils/run-init.c
+++ b/utils/run-init.c
@@ -1,4 +1,4 @@
-#ident "$Id: run-init.c,v 1.6 2004/07/30 16:26:59 hpa Exp $"
+#ident "$Id: run-init.c,v 1.7 2004/10/17 20:30:50 hpa Exp $"
/* ----------------------------------------------------------------------- *
*
* Copyright 2004 H. Peter Anvin - All Rights Reserved
@@ -188,7 +188,7 @@
initargs = argv+optind+1;
/* First, change to the new root directory */
- if ( chdir(argv[1]) )
+ if ( chdir(realroot) )
die("chdir to new root");
/* This is a potentially highly destructive program. Take some