ubuntu / wsl-setup

WSL setup starts the setup and reconfigure GUI or TUI
GNU General Public License v3.0
17 stars 4 forks source link

fix: Check if cloud-init log is readable by the current user in 99-wsl #15

Closed CarlosNihelton closed 2 months ago

CarlosNihelton commented 2 months ago

If the user is not member of the adm group this script fails with "access denied". Thus we should check if the log is readable by the current user instead of just checking if it exists.