summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-12-24 17:56:51 +0000
committerJim Meyering <jim@meyering.net>2000-12-24 17:56:51 +0000
commitc8b1db11d3452c9441adec62525b1ab8191e2a96 (patch)
tree018de549f422921456f26fda1804aab54d8c0819
parent24ffc1a3c9e0ae003c6005a2bc107999620ab072 (diff)
downloadcoreutils-c8b1db11d3452c9441adec62525b1ab8191e2a96.tar.xz
(main): Actually use the local variable, `backup_suffix_string'.
-rw-r--r--src/ln.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ln.c b/src/ln.c
index e3ecff36f..6c01e7fe3 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -511,6 +511,9 @@ main (int argc, char **argv)
usage (1);
}
+ if (backup_suffix_string)
+ simple_backup_suffix = xstrdup (backup_suffix_string);
+
backup_type = (make_backups
? xget_version (_("backup type"), version_control_string)
: none);