From a7b3820b6977610d0c50fffc0dd11e8f9e6deecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Mon, 22 Feb 2016 01:42:48 +0800 Subject: [PATCH] wrong redirection --- bash/bashrc/rbashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/bashrc/rbashrc b/bash/bashrc/rbashrc index 65b3088..e04ffd9 100644 --- a/bash/bashrc/rbashrc +++ b/bash/bashrc/rbashrc @@ -113,7 +113,7 @@ function __cacheDownload { function __uuid { local __out=$1 - which uuidgen 2&>1 > /dev/null + which uuidgen 2>&1 > /dev/null if [ $? -eq 0 ]; then local uuid=$( uuidgen ) else