Redirect stderr to /dev/null

This commit is contained in:
Santiago Lo Coco 2022-01-09 20:09:03 -03:00
parent a43afe1b3c
commit f231049b60
1 changed files with 1 additions and 1 deletions

View File

@ -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
}