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
|
else
|
||||||
perror "server already started"
|
perror "server already started"
|
||||||
exit 2
|
return 2
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ stop() {
|
||||||
vncserver -kill :1
|
vncserver -kill :1
|
||||||
else
|
else
|
||||||
perror "server is not running"
|
perror "server is not running"
|
||||||
exit 2
|
return 2
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue