forked from arriven/db1000n
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DB1000N | Add app. auto-restart upon successful update (arriven#317)
* DB1000N | Add app. auto-restart upon successful update * DB1000N | Refactor flags values * DB1000N | Fix build for Windows, fix linting issues * DB1000N | Fix linting issues * DB1000N | Fix build for Windows, Fix linters issues * DB1000N | Fix MD linters issues * DB1000N | Fix backward compatibility with Go 1.16 * DB1000N | Allow restarts only on Linux & Darwin systems * DB1000N | For god sake fix for the test compilation on Windows
- Loading branch information
1 parent
24a092a
commit 1aab748
Showing
9 changed files
with
367 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//go:build windows || netbsd || solaris || aix || dragonfly || freebsd || (illumos && !linux && !darwin) | ||
// +build windows netbsd solaris aix dragonfly freebsd illumos,!linux,!darwin | ||
|
||
package ota | ||
|
||
import "errors" | ||
|
||
func Restart(extraArgs ...string) error { | ||
return errors.New("restart on the Windows system is not available") | ||
} |
Oops, something went wrong.