packages/hyprspace: don't segfault when reading config fails

This commit is contained in:
Max Headroom 2023-10-27 03:06:40 +02:00
parent f6e6815aa5
commit ed3d8fd7ab
2 changed files with 2 additions and 2 deletions

View file

@ -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")

View file

@ -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;