gentooup: only check services if not in chroot
This commit is contained in:
parent
b53a5a1751
commit
21f44786fc
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ if [[ $(qlist -I gentoo-sources) != "" ]] ; then
|
|||
emerge "${PORTAGE_OPTIONS[@]}" --deselect gentoo-sources:"${CURRENTKERNELVERSION/"-gentoo"/}"
|
||||
fi
|
||||
|
||||
if [[ -n "$(which restart_services)" ]] ; then
|
||||
if [[ -n "$(which restart_services)" && $CHROOTED == "1" ]] ; then
|
||||
restart_services -l
|
||||
fi
|
||||
echo "Started at $STARTDATE"
|
||||
|
|
Loading…
Add table
Reference in a new issue