Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
ssd-eraser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ITS
ssd-eraser
Commits
72519fcd
Commit
72519fcd
authored
5 years ago
by
efer
Browse files
Options
Downloads
Patches
Plain Diff
v0.2
parent
bbec5902
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ssd-eraser
+2
-2
2 additions, 2 deletions
ssd-eraser
with
2 additions
and
2 deletions
ssd-eraser
+
2
−
2
View file @
72519fcd
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
# See the GNU General Public License for more details.
#
#
__version__
=
'
0.
1
'
__version__
=
'
0.
2
'
import
os
import
os
import
json
import
json
...
@@ -25,7 +25,7 @@ except ImportError:
...
@@ -25,7 +25,7 @@ except ImportError:
# Got root?
# Got root?
if
os
.
getuid
()
!=
0
:
if
os
.
getuid
()
!=
0
:
print
(
"
\n
Only
root
can
run
this script
.
\n
"
)
print
(
"
\n
Must be
root
to
run
command
.
\n
"
)
exit
(
1
)
exit
(
1
)
# Main Vars
# Main Vars
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment