diff --git a/container/qcow2rootfs/bin/main b/container/qcow2rootfs/bin/main index 2d71c4844ac2cfcec4e98578346de8fa6cb186fd..351de2f0c6aff5e235af0ce73ba964f76fc61245 100755 --- a/container/qcow2rootfs/bin/main +++ b/container/qcow2rootfs/bin/main @@ -13,7 +13,7 @@ qcow2_grp=$(ls -nl "$EXTRACT_ROOT" |grep -w qcow2-dir |awk '{print $4}') trap_excepts() { # trap Ctrl-C to avoid authority problem happening trap ' - echo "[WARNNING] Detected interrupt, restoring the owner of qcow2 file" + echo "[WARNING] Detected interrupt, restoring the owner of qcow2 file" chown $qcow2_usr:$qcow2_grp $QCOW2_FILE echo "[INFO] User cancelled." ' SIGINT ERR @@ -32,7 +32,7 @@ unzip_qcow2_xz() { } extract_rootfs() { - echo "[WARNNING] Temporarily change owner of qcow2 file" + echo "[WARNING] Temporarily change owner of qcow2 file" chown "$EXTRACT_USER":"$EXTRACT_USER" "$QCOW2_FILE" chmod 777 "$ROOTFS_DIR" @@ -87,7 +87,7 @@ clean_environment() { echo "Delete .tar.gz file" [ -f $tar_out_file ] && rm -f $tar_out_file - echo "[WARNNING] Restoring the owner of qcow2 file" + echo "[WARNING] Restoring the owner of qcow2 file" chown "$qcow2_usr":"$qcow2_grp" "$QCOW2_FILE" } diff --git a/src/features/support/env.rb b/src/features/support/env.rb index 52e57e25a99d0c4a12cc21315657ba1d467436a4..264fc192f00e700455428a483d7018c13b201256 100644 --- a/src/features/support/env.rb +++ b/src/features/support/env.rb @@ -26,7 +26,7 @@ def curl_get_result(port, url, with_head = nil) Open3.popen3(cmd) end -# raw exmples: +# raw examples: # [ # "HTTP/1.1 200 OK\r\n", # "Connection: keep-alive\r\n", "X-Powered-By: Kemal\r\n",