Skip to content

Commit

Permalink
reuse const (#16422)
Browse files Browse the repository at this point in the history
  • Loading branch information
n5m authored Jan 1, 2021
1 parent d069c08 commit b254d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pure/osproc.nim
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ elif not defined(useNimRtl):
when not defined(android): "/bin/sh"
else: "/system/bin/sh"
data.sysCommand = useShPath
sysArgsRaw = @[data.sysCommand, "-c", command]
sysArgsRaw = @[useShPath, "-c", command]
assert args.len == 0, "`args` has to be empty when using poEvalCommand."
else:
data.sysCommand = command
Expand Down

0 comments on commit b254d91

Please sign in to comment.