cloudflared-mirror/cmd/cloudflared
Christoph Blecker b11c2520dc
Handle exit code on err
fixes #96.

This change checks the err returned from the StartServer function, and
if it exists, passes a non-zero error code through to the urfave/cli
framework. This should allow processes like launchd to detect if
cloudflared exited gracefully or with an error.
2019-05-29 09:34:10 -07:00
..
access AUTH-1531: Named flags for ssh service tokens 2019-03-06 13:09:13 -06:00
config Support unix sockets. 2019-03-06 18:33:23 -06:00
encrypter TUN-1099: Bring back changes in 2018.10.1 2018-10-08 14:20:28 -05:00
shell TUN-1099: Bring back changes in 2018.10.1 2018-10-08 14:20:28 -05:00
token AUTH-1404: reauth if the token is about to expire within 15 minutes 2019-01-25 10:43:07 -06:00
transfer AUTH-1337: fix url path 2019-01-25 13:47:12 -06:00
tunnel TUN-1669: Update license message in help text. Also fix test 2019-04-18 10:42:48 -05:00
updater TUN-1381: should tell you if you're on the latest version rather than just exiting silently 2019-02-14 17:11:52 -06:00
generic_service.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
linux_service.go cloudflared/linux_service: Add missing /etc/init.d shebang 2019-02-01 14:55:30 -06:00
macos_service.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
main.go Handle exit code on err 2019-05-29 09:34:10 -07:00
service_template.go TUN-1138: Install cloudflared service directory with 755 permissions 2019-01-07 13:46:21 -06:00
windows_service.go TUN-1451: Make non-interactive, non-service execution possible on Windows 2019-03-04 19:49:57 -06:00