diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-10-16 18:38:16 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-10-16 18:38:16 -0400 |
commit | b273cc64b722c2a46befa65ed0e389d60bd83b2e (patch) | |
tree | d581bb602deb0b222e673494138ff69c9b51c56f /.profile | |
parent | 70e1364f596cfdfcbecd28a07a48630cc62a4c90 (diff) |
only run alsactl in .profile if it exists.
Diffstat (limited to '.profile')
-rw-r--r-- | .profile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -30,4 +30,6 @@ if [ -f "$HOME/.selected_editor" ]; then export VISUAL="${VISUAL:-$SELECTED_EDITOR}" fi -alsactl --file $HOME/.alsa.save restore &> /dev/null || true +if [ -x "`which alsactl`" ]; then + alsactl --file $HOME/.alsa.save restore &> /dev/null || true +fi |