Skip to content

Commit

Permalink
Make warning say the truth.
Browse files Browse the repository at this point in the history
  • Loading branch information
tecimovic committed Apr 16, 2021
1 parent afd2d01 commit 41bb14b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-script/zap-start.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ scriptUtil
if (executor === 'electron' && process.platform == 'linux') {
if (!process.env.DISPLAY) {
console.log(`
⛔ You are on linux, you are attempting to run zap in UI mode without DISPLAY set.
⛔ Please set your DISPLAY environment variable if you wish to proceed.`)
⛔ You are on Linux and you are attempting to run zap in UI mode without DISPLAY set.
⛔ Please set your DISPLAY environment variable or run zap-start.js with a command that does not require DISPLAY.`)
process.exit(1)
}
}
Expand Down

0 comments on commit 41bb14b

Please sign in to comment.