フォーク元 suwako/farfetch
fix
このコミットが含まれているのは:
コミット
4da26fc3c6
|
@ -12,11 +12,10 @@ const char *display_storage() {
|
||||||
return run_command_s("df -h | "
|
return run_command_s("df -h | "
|
||||||
"awk '/^\\/dev\\// {printf \"%s: %s / %s, \", $1, $3, $2}' | "
|
"awk '/^\\/dev\\// {printf \"%s: %s / %s, \", $1, $3, $2}' | "
|
||||||
"awk '{sub(/, $/, \"\"); print}'");
|
"awk '{sub(/, $/, \"\"); print}'");
|
||||||
} else {
|
}
|
||||||
|
|
||||||
free((void *)excode);
|
free((void *)excode);
|
||||||
return run_command_s("zpool list | "
|
return run_command_s("zpool list | "
|
||||||
"awk 'NR>1 {printf \"%s: %s / %s, \", $1, $3, $2}' | "
|
"awk 'NR>1 {printf \"%s: %s / %s, \", $1, $3, $2}' | "
|
||||||
"awk '{sub(/, $/, \"\"); print}'");
|
"awk '{sub(/, $/, \"\"); print}'");
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
読み込み中…
新しいイシューから参照