forked from ahurac/dotfiles
Ajout d'un echo quand le serveur se lance
This commit is contained in:
parent
3273d9ba22
commit
812b4409b4
1 changed files with 3 additions and 1 deletions
|
@ -33,7 +33,9 @@ is_running() {
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
if ! is_running; then
|
if ! is_running; then
|
||||||
vncserver
|
set -e
|
||||||
|
vncserver > /dev/null
|
||||||
|
echo 'export DISPLAY=:1;'
|
||||||
else
|
else
|
||||||
error "The VNC server is already running!" 4
|
error "The VNC server is already running!" 4
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue