diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2023-08-29 16:40:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-29 10:40:19 +0200 |
commit | 1fcb53cded47a9671671170f0df42f6efbde5be4 (patch) | |
tree | 22c9753adc24b926275b6195c3eb6874681989c5 | |
parent | d8ffc6a75edbed49e24f9ed5c9eff892eefc3ee7 (diff) | |
download | Nim-1fcb53cded47a9671671170f0df42f6efbde5be4.tar.gz |
fixes broken nightlies; follow up #22544 (#22585)
ref https://github.com/nim-lang/nightlies/actions/runs/5970369118/job/16197865657 > /home/runner/work/nightlies/nightlies/nim/lib/pure/os.nim(678, 30) Error: getApplOpenBsd() can raise an unlisted exception: ref OSError
-rw-r--r-- | lib/pure/os.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim index 13b103b92..7ba156c89 100644 --- a/lib/pure/os.nim +++ b/lib/pure/os.nim @@ -675,7 +675,7 @@ proc getAppFilename*(): string {.rtl, extern: "nos$1", tags: [ReadIOEffect], noW elif defined(haiku): result = getApplHaiku() elif defined(openbsd): - result = getApplOpenBsd() + result = try: getApplOpenBsd() except OSError: "" elif defined(nintendoswitch): result = "" |