Redirect stderr to /dev/null
This commit is contained in:
parent
a43afe1b3c
commit
f231049b60
|
@ -89,7 +89,7 @@ loopThroughFiles() {
|
|||
fi
|
||||
|
||||
password=$(displayDialogBox --passwordbox "Enter your password" VALUES 3>&1 1>&2 2>&3)
|
||||
echo $password | sudo -S bash -c "$(declare -f runDetachedScript); $(declare -f linkFile); runDetachedScript $dialogBox"
|
||||
echo $password | sudo -S bash -c "$(declare -f runDetachedScript); $(declare -f linkFile); runDetachedScript $dialogBox" 2> /dev/null
|
||||
unset password
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue