summaryrefslogtreecommitdiffstats
path: root/src/vfs/fish/helpers/hardlink
blob: 4f36b3ff877f84f6f7c0b2c39d6df83c9acfa5dc (plain)
1
2
3
4
5
6
7
8
#LINK $FISH_FILEFROM $FISH_FILETO
FILEFROM="/${FISH_FILEFROM}"
FILETO="/${FISH_FILETO}"
if ln "${FILEFROM}" "${FILETO}" 2>/dev/null; then
   echo "### 000"
else
   echo "### 500"
fi