]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - rellns-sh
Update to 2.1.x development version
[thirdparty/glibc.git] / rellns-sh
index 5ce265bccf2d572b9714ac395cba3dc2892a99b4..61f18c4146e150fa846226a54793073fc7dc6945 100755 (executable)
--- a/rellns-sh
+++ b/rellns-sh
@@ -22,6 +22,12 @@ if test $# -ne 2; then
   exit 1
 fi
 
+# We only handle the case where SOURCE is the name of an existing file
+if test ! -f $1; then
+  echo "rellns: $1 must name an existing file" >&2
+  exit 1
+fi
+
 case $1 in
 /*)
   # Make both paths absolute.