VirtualBox

Changeset 36785 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Apr 21, 2011 8:07:14 AM (14 years ago)
Author:
vboxsync
Message:

Additions/installer/linux: silence a grep

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/runasroot.sh

    r36759 r36785  
    104104case "$HAS_TERMINAL" in ?*)
    105105        USE_SUDO=
    106         grep Ubuntu /etc/lsb-release && USE_SUDO=true
     106        grep -q Ubuntu /etc/lsb-release 2>/dev/null && USE_SUDO=true
    107107        # On Ubuntu we need sudo instead of su.  Assume this works, and is only
    108108        # needed for Ubuntu until proven wrong.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette