Revision d577183a

b/create
72 72
        log_error "Root partition: $root_dev does not exist!"
73 73
        exit 1;
74 74
    fi
75
    if [ -n $boot_dev -a ! -e $boot_dev ] ; then
75
    if [ -n "$boot_dev" -a ! -e "$boot_dev" ] ; then
76 76
        log_error "Boot partition: $boot_dev does not exist!"
77 77
        exit 1;
78 78
    fi
79
    if [ -n $swap_dev -a ! -e $swap_dev ] ; then
79
    if [ -n "$swap_dev" -a ! -e "$swap_dev" ] ; then
80 80
        log_error "Swap partiion: $swap_dev does not exist!"
81 81
        exit 1;
82 82
    fi

Also available in: Unified diff