Add return codes to detectDistro
This commit is contained in:
@@ -26,8 +26,10 @@ detectDistro() {
|
||||
echo "Arch"
|
||||
else
|
||||
echo 1
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
oneline() {
|
||||
|
||||
Reference in New Issue
Block a user