Find with no permission will always fail

This commit is contained in:
flyingscorpio@arch-desktop 2022-01-29 17:19:33 +01:00
parent a3fbda55a5
commit 7a1f82218d

View file

@ -241,7 +241,7 @@ mariadb:
- mariadb
- run:
command: sudo mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql && sudo systemctl start mysqld.service && sudo mysql_secure_installation
condition: "find /var/lib/mysql -mindepth 1 | read"
condition: "sudo find /var/lib/mysql -mindepth 1 | read"
i3:
- install: