Skip to content

Commit b1b520f

Browse files
author
Luka Gulin
committed
Small Bug fix
1 parent d269fd1 commit b1b520f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/dappnode_install_pre.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ if [ "$1" == "UPDATE" ]; then
130130
fi
131131

132132

133-
if find /etc/apt/ -name "*.list" -print0 | xargs cat | grep -q "https://download.docker.com/linux/$lsb_dist" ; then
133+
if find /etc/apt/ -name "*.list" -print0 | xargs --null cat | grep -q "https://download.docker.com/linux/$lsb_dist" ; then
134134
echo -e "\e[32m \n\n docker repo is already added \n\n \e[0m" 2>&1 | tee -a $LOG_FILE
135135
else
136136
add_docker_repo | tee -a $LOG_FILE

0 commit comments

Comments
 (0)