[Pkg-sysvinit-devel] Re: Please test patch for checkroot.sh

Petter Reinholdtsen pere at hungry.com
Sat Sep 9 16:50:27 UTC 2006


[Petter Reinholdtsen]
> Can you test and let me know if it work or not?

I found a minor bug in it.  Some bogus code I forgot to fix before
announcing the patch:

> @@ -374,9 +368,11 @@
>  	fi
>  
>  	#
> -	# Remove /dev/shm/root if we created it.
> +	# Remove the tmpfs mounted on /tmp if it is mounted
>  	#
> -	rm -f /dev/shm/root
> +	if [ /tmp/rootdev = "$rootdev" ] ; then
> +	    grep umount /tmp
> +	fi
>  }

The 'grep' in front of umount should not be there.



More information about the Pkg-sysvinit-devel mailing list