summaryrefslogtreecommitdiffstats
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rw-r--r--helpers/mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/mode.c b/helpers/mode.c
index e3e4878..fd66400 100644
--- a/helpers/mode.c
+++ b/helpers/mode.c
@@ -263,7 +263,7 @@ opkg_opk_helper_mode_parse(mode_t cur_mode, const char *mode_str,
mode.sym_mode = mode_str;
mode.new_mode = new_mode;
- *new_mode = 00000;
+ *new_mode = cur_mode;
return _opkg_opk_helper_mode_parse_symbolic_mode(&mode);
}