Revision 025dd949 create

b/create
86 86
        log_error "Root partition: $root_dev does not exist!"
87 87
        exit 1;
88 88
    fi
89
    if [ -n $boot_dev -a ! -e $boot_dev ] ; then
89
    if [ -n "$boot_dev" -a ! -e "$boot_dev" ] ; then
90 90
        log_error "Boot partition: $boot_dev does not exist!"
91 91
        exit 1;
92 92
    fi
93
    if [ -n $swap_dev -a ! -e $swap_dev ] ; then
93
    if [ -n "$swap_dev" -a ! -e "$swap_dev" ] ; then
94 94
        log_error "Swap partiion: $swap_dev does not exist!"
95 95
        exit 1;
96 96
    fi

Also available in: Unified diff