git://git.onelab.eu
/
vsys-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[End of patch series]
[vsys-scripts.git]
/
fd_fusemount.c
diff --git
a/fd_fusemount.c
b/fd_fusemount.c
index
de05b55
..
daae97a
100644
(file)
--- a/
fd_fusemount.c
+++ b/
fd_fusemount.c
@@
-50,8
+50,8
@@
void check_source(char *source) {
}
void check_target(char *target) {
-
source
[arg_length-1]='\0';
- if (strstr(
source
,"..")) {
+
target
[arg_length-1]='\0';
+ if (strstr(
target
,"..")) {
printf("Tried mounting with target = %s\n", target);
exit(1);
}