Commit 99a9ad00 authored by Eric Vidal's avatar Eric Vidal 💬
Browse files

be obligate to pass by mount_umount functions

parent f4227110
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -35,9 +35,8 @@ clean_install(){
	pkill gpg-agent
	pkill dirmngr
	
	if [[ $(mount | grep "$newroot"/proc) ]]; then
	mount_umount "$newroot" "umount"
	fi
	
	if [[ $(awk -F':' '{ print $1}' /etc/passwd | grep usertmp) >/dev/null ]]; then
		echo_valid " Removing user usertmp"
		user_del "usertmp" &>/dev/null