Browse Source

Fixed: Update restart

Fixed bug causing updater not to function as intended
pull/261/head
Daniel Gibbs 10 years ago
parent
commit
5caf0a0937
  1. 7
      7DaysToDie/sdtdserver

7
7DaysToDie/sdtdserver

@ -3,7 +3,7 @@
# Server Management Script # Server Management Script
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk # Website: http://danielgibbs.co.uk
# Version: 241214 # Version: 010115
#### Variables #### #### Variables ####
@ -119,8 +119,7 @@ case "$1" in
restart) restart)
fn_restartserver;; fn_restartserver;;
update) update)
fn_update;; norestart=1;
auto-update)
fn_versioncheck;; fn_versioncheck;;
update-restart) update-restart)
fn_versioncheck;; fn_versioncheck;;
@ -147,7 +146,7 @@ case "$1" in
auto-install) auto-install)
fn_autoinstall;; fn_autoinstall;;
*) *)
echo "Usage: $0 {start|stop|restart|update|auto-update|validate|validate-restart|monitor|email-test|details|backup|console|debug|install|auto-install}" echo "Usage: $0 {start|stop|restart|update|update-restart|validate|validate-restart|monitor|email-test|details|backup|console|debug|install|auto-install}"
exit 1;; exit 1;;
esac esac
exit exit
Loading…
Cancel
Save