From cb73fe80e349decb4dc39113047fb554c2ffd2b6 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 14 Dec 2023 20:20:20 +0100 Subject: up --- c_josh.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'c_josh.go') diff --git a/c_josh.go b/c_josh.go index ad35c80..451f837 100644 --- a/c_josh.go +++ b/c_josh.go @@ -54,8 +54,6 @@ import ( func main() { var data_dir string - if data_dir = c_get_data_dir() + "/josh"; len(data_dir) == 0 { - c_die("couldn't find josh home directory", nil) - } + data_dir = c_get_data_dir() fmt.Println("data dir: ", data_dir) } -- cgit v1.2.3