Skip to content

Commit

Permalink
corrected filesystem name
Browse files Browse the repository at this point in the history
  • Loading branch information
garvct committed Mar 28, 2023
1 parent 5712651 commit 646712e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def run_df():
line_split = line.split()
df_filesystem = line_split[0]
df_inode_used_pc = line_split[4]
if filesystem == "Filesystem" or df_inode_used_pc == "-":
if df_filesystem == "Filesystem" or df_inode_used_pc == "-":
continue
df_d[df_filesystem] = {}
df_inode_total = line_split[1]
Expand All @@ -291,7 +291,7 @@ def run_df():
df_d[df_filesystem]["df_used_KB"] = int(df_used_KB)
df_d[df_filesystem]["df_avail_KB"] = int(df_avail_KB)
df_d[df_filesystem]["df_used_pc"] = int(df_used_pc[:-1])
df_d[df_filesystem]["df_mount_pt"] = int(df_mount_pt)
df_d[df_filesystem]["df_mount_pt"] = df_mount_pt
return df_d


Expand Down

0 comments on commit 646712e

Please sign in to comment.