Home
last modified time | relevance | path

Searched refs:die (Results 1 – 2 of 2) sorted by relevance

/redis-3.2.3/utils/
H A Dinstall_server.sh32 die () { function
117 mkdir -p `dirname "$REDIS_CONFIG_FILE"` || die "Could not create redis config directory"
118 mkdir -p `dirname "$REDIS_LOG_FILE"` || die "Could not create redis log dir"
119 mkdir -p "$REDIS_DATA_DIR" || die "Could not create redis data directory"
147 cp $TMP_FILE $REDIS_CONFIG_FILE || die "Could not write redis config file $REDIS_CONFIG_FILE"
182 … "$REDIS_CHKCONFIG_INFO" > $TMP_FILE && cat $INIT_TPL_FILE >> $TMP_FILE || die "Could not write in…
185 …echo "$REDIS_INIT_HEADER" > $TMP_FILE && cat $INIT_TPL_FILE >> $TMP_FILE || die "Could not write i…
225 chmod +x $INIT_SCRIPT_DEST || die "Could not copy redis init script to $INIT_SCRIPT_DEST"
241 /etc/init.d/redis_$REDIS_PORT start || die "Failed starting service..."
/redis-3.2.3/deps/lua/src/
H A Dstrbuf.c32 static void die(const char *fmt, ...) in die() function
63 die("Out of memory"); in strbuf_init()
74 die("Out of memory"); in strbuf_new()
89 die("BUG: Invalid string increment"); in strbuf_set_increment()
139 die("BUG: Invalid strbuf length requested"); in calculate_new_size()
178 die("Out of memory"); in strbuf_resize()
214 die("BUG: Unable to convert number"); /* This should never happen.. */ in strbuf_append_fmt()
242 die("BUG: length of formatted string changed"); in strbuf_append_fmt_retry()