packages/hyprspace: don't segfault when reading config fails
This commit is contained in:
parent
f6e6815aa5
commit
ed3d8fd7ab
2 changed files with 2 additions and 2 deletions
|
@ -67,9 +67,9 @@ func UpRun(r *cmd.Root, c *cmd.Sub) {
|
|||
|
||||
// Read in configuration from file.
|
||||
cfg2, err := config.Read(configPath)
|
||||
checkErr(err)
|
||||
cfg2.Interface = ifName
|
||||
cfg = cfg2
|
||||
checkErr(err)
|
||||
|
||||
fmt.Println("[+] Creating TUN Device")
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
};
|
||||
packages.hyprspace = with pkgs; buildGo120Module rec {
|
||||
pname = "hyprspace";
|
||||
version = "0.8.0";
|
||||
version = "0.8.1";
|
||||
|
||||
src = with inputs.nix-filter.lib; let
|
||||
dirs = map inDirectory;
|
||||
|
|
Loading…
Reference in a new issue