From 2ed96c09891698c2294cf7fa27e35eccb2ae071d Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Fri, 10 Aug 2018 22:18:18 -0500
Subject: [PATCH] .profile: Fix buggy lsblk detection

---
 .profile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.profile b/.profile
index 8ca28530..8f022e98 100755
--- a/.profile
+++ b/.profile
@@ -39,7 +39,7 @@ else
 fi
 
 # Add an alias for lsblk, since I tend to use that
-if [ `which lsblk` ]; then
+if [ "`which lsblk > /dev/null 2>&1`" ]; then
 	alias lsblk='lsblk -p'
 	alias lsblkf='lsblk -pf'
 fi