Skip to content

Commit b6c2835

Browse files
committed
Use the right NUL device on Windows for rvc.git ##projects
1 parent 3715368 commit b6c2835

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

libr/util/rvc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* radare - LGPL - Copyright 2021-2023 - RHL120, pancake */
1+
/* radare - LGPL - Copyright 2021-2025 - RHL120, pancake */
22

33
#define R_LOG_ORIGIN "rvc"
44

libr/util/rvc_git.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ static Rvc *open_git(const char *path) {
99
char *git_path = r_file_new (path, ".git", NULL);
1010
if (!git_path || !r_file_is_directory (git_path)) {
1111
char *escpath = r_str_escape (path);
12-
int ret = r_sys_cmdf ("git init \"%s\" > /dev/null", escpath);
12+
int ret = r_sys_cmdf ("git init \"%s\" > %s", escpath, R_SYS_DEVNULL);
1313
if (ret != 0) {
1414
R_LOG_WARN ("git init failed");
1515
}

0 commit comments

Comments
 (0)