From 1b88cd5ee8510e90e69f885bfd730ce57621781c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 03:11:49 +0200 Subject: Adding upstream version 3:4.8.31. Signed-off-by: Daniel Baumann --- src/vfs/shell/helpers/hardlink | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/vfs/shell/helpers/hardlink (limited to 'src/vfs/shell/helpers/hardlink') diff --git a/src/vfs/shell/helpers/hardlink b/src/vfs/shell/helpers/hardlink new file mode 100644 index 0000000..f92b332 --- /dev/null +++ b/src/vfs/shell/helpers/hardlink @@ -0,0 +1,7 @@ +FILEFROM="/${SHELL_FILEFROM}" +FILETO="/${SHELL_FILETO}" +if ln "${FILEFROM}" "${FILETO}" 2>/dev/null; then + echo "### 000" +else + echo "### 500" +fi -- cgit v1.2.3