Changeset 29911 in project


Ignore:
Timestamp:
10/12/13 12:21:03 (8 years ago)
Author:
Timusan
Message:

Added check on configuration file permissions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/spiffy-init-script

    r29910 r29911  
    2424    fi
    2525
    26     if [ ! -f "$CONFIG_FILE" ]; then
    27        echo "Cannot find configuration file. Please create the following file: \"$CONFIG_FILE\""
    28        exit 0
     26    if [ ! -r "$CONFIG_FILE" ]; then
     27      echo "Cannot find or read the configuration file. Please create or check the permissions of the following file: \"$CONFIG_FILE\"."
     28      exit 0
    2929    fi
    3030
Note: See TracChangeset for help on using the changeset viewer.