diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/realpath.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/realpath.c b/src/realpath.c index 19727641a..f95535b12 100644 --- a/src/realpath.c +++ b/src/realpath.c @@ -330,10 +330,7 @@ main (int argc, char **argv) } if (relative_base && !relative_to) - { - error (0, 0, _("--relative-base requires --relative-to")); - usage (EXIT_FAILURE); - } + relative_to = relative_base; bool need_dir = (can_mode & CAN_MODE_MASK) == CAN_EXISTING; if (relative_to) |