From cfd9d272b15d3129bc35a73194e6b4a3a4962726 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Mon, 21 May 2012 11:54:03 +0400 Subject: [PATCH] stderred alias --- main.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.sh b/main.sh index 0f2c572..9ae9890 100755 --- a/main.sh +++ b/main.sh @@ -43,6 +43,5 @@ setopt inc_append_history unsetopt equals -stderred_lib_path=`whereis stderred.so | cut -d: -f2 | cut -d" " -f2` -[[ "" != "$stderred_lib_path" ]] && alias stderred="LD_PRELOAD=$stderred_lib_path" -unset stderred_lib_path +alias stderred="LD_PRELOAD=/usr/lib/stderred.so" +alias stderred32="LD_PRELOAD=/usr/lib32/stderred.so"