Fix linux setup detection

pull/1044/head
bmaltais 2023-06-22 20:15:54 -04:00
parent 8c3c6a4c57
commit 31d04983c1
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ update_kohya_ss() {
}
# Start OS-specific detection and work
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
if [[ "$OSTYPE" == "lin"* ]]; then
# Check if root or sudo
root=false
if [ "$EUID" = 0 ]; then