commit:     0e13d3f704220379a40e1a8e750dd58961f9e78e
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 16 01:04:02 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Jul 16 14:29:17 2020 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=0e13d3f7

defaults/linuxrc: Fix mounting of /proc

Cannot use `run` before root was mounted writable.

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 defaults/linuxrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/defaults/linuxrc b/defaults/linuxrc
index e90bd34..682f647 100644
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -31,7 +31,7 @@ then
        exit 1
 fi
 
-run mount -t proc -o noexec,nosuid,nodev proc /proc >/dev/null 2>&1
+mount -t proc -o noexec,nosuid,nodev proc /proc >/dev/null 2>&1
 mount -o remount,rw / >/dev/null 2>&1
 
 # Prevent superfluous printks from being printed to the console

Reply via email to