Skip to content

Commit e8dca9a

Browse files
committed
remove unnecessary array for space-separated args
1 parent db879fe commit e8dca9a

File tree

1 file changed

+1
-3
lines changed
  • root/etc/s6-overlay/s6-rc.d/mount

1 file changed

+1
-3
lines changed

root/etc/s6-overlay/s6-rc.d/mount/run

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
#!/usr/bin/with-contenv bash
22
. /usr/local/bin/variables
33

4-
IFS=" " read -r -a rclone_mount_user_opts <<< "$RCLONE_MOUNT_USER_OPTS"
5-
6-
mount_command="rclone mount ${RCLONE_REMOTE_PATH} ${rclone_mountpoint} $(echo $rclone_mount_basic_opts) ${rclone_mount_user_opts[@]}"
4+
mount_command="rclone mount ${RCLONE_REMOTE_PATH} ${rclone_mountpoint} $(echo $rclone_mount_basic_opts) $RCLONE_MOUNT_USER_OPTS"
75
echo "*** mounting => $mount_command"
86
exec s6-notifyoncheck -d -n 0 -s 3000 \
97
s6-setuidgid abc $mount_command

0 commit comments

Comments
 (0)