Skip to content

Commit f3fa5a1

Browse files
committed
Improve Linuxulator detection
1 parent e9cd0bb commit f3fa5a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/sass/Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,10 +445,10 @@ module Platform
445445
begin
446446
Rake::Task['true'].invoke unless File.exist?('true')
447447
rescue NotImplementedError
448-
# do nothing
448+
return false
449449
end
450450

451-
system('./true') == true
451+
system('./true', %i[out err] => File::NULL) == true
452452
end
453453

454454
def host_os(root = compat_linux_emul_path)

0 commit comments

Comments
 (0)