Module Name: src Committed By: martin Date: Mon Feb 6 11:53:04 UTC 2023
Modified Files: src/etc/rc.d: iscsid_volumes Log Message: If /etc/iscsi/volumes does not exist, explicitly exit with 0 status To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/etc/rc.d/iscsid_volumes Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/etc/rc.d/iscsid_volumes diff -u src/etc/rc.d/iscsid_volumes:1.1 src/etc/rc.d/iscsid_volumes:1.2 --- src/etc/rc.d/iscsid_volumes:1.1 Fri Feb 3 13:53:40 2023 +++ src/etc/rc.d/iscsid_volumes Mon Feb 6 11:53:03 2023 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: iscsid_volumes,v 1.1 2023/02/03 13:53:40 mlelstv Exp $ +# $NetBSD: iscsid_volumes,v 1.2 2023/02/06 11:53:03 martin Exp $ # # PROVIDE: iscsid_volumes @@ -16,7 +16,7 @@ stop_cmd="iscsid_volumes_stop" iscsid_volumes_start() { - test -f /etc/iscsi/volumes || return + test -f /etc/iscsi/volumes || return 0 while read host target digest auth user alias; do case $host in @@ -78,7 +78,7 @@ iscsid_volumes_start() iscsid_volumes_stop() { - test -f /etc/iscsi/volumes || return + test -f /etc/iscsi/volumes || return 0 while read host target digest auth user alias; do case $host in