forked from ahurac/dotfiles
headlessvnc : exit -> return dans les fonctions start et stop pour ne pas interrompre restart
This commit is contained in:
parent
58ee6d737a
commit
2d2f273111
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ start() {
|
|||
"$@"
|
||||
else
|
||||
perror "server already started"
|
||||
exit 2
|
||||
return 2
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ stop() {
|
|||
vncserver -kill :1
|
||||
else
|
||||
perror "server is not running"
|
||||
exit 2
|
||||
return 2
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue